瀏覽代碼

fix build on plafrim

Samuel Thibault 8 年之前
父節點
當前提交
268e8e3d0d
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/core/disk_ops/disk_hdf5.c

+ 3 - 0
src/core/disk_ops/disk_hdf5.c

@@ -16,6 +16,9 @@
 
 #include <fcntl.h>
 #include <errno.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 #include <time.h>
 #include <hdf5.h>