summaryrefslogtreecommitdiffstats
path: root/tools/h5repart.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5repart.c')
-rw-r--r--tools/h5repart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5repart.c b/tools/h5repart.c
index 03ef471..4561a91 100644
--- a/tools/h5repart.c
+++ b/tools/h5repart.c
@@ -19,8 +19,9 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
-
+#endif
#define FALSE 0
#define TRUE 1
#define NAMELEN 4096