Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rd_party/cnpy/cnpy.h')
-rw-r--r--src/3rd_party/cnpy/cnpy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rd_party/cnpy/cnpy.h b/src/3rd_party/cnpy/cnpy.h
index 87bafc5e..89e607ca 100644
--- a/src/3rd_party/cnpy/cnpy.h
+++ b/src/3rd_party/cnpy/cnpy.h
@@ -18,6 +18,10 @@
#include<map>
#include <memory>
+#ifdef __APPLE__
+#include <unistd.h>
+#endif
+
namespace cnpy {
struct NpyArray {