summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/h5import.c3
-rw-r--r--tools/h5repart.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/h5import.c b/tools/h5import.c
index 53fae0b..e896feb 100644
--- a/tools/h5import.c
+++ b/tools/h5import.c
@@ -26,6 +26,9 @@
# include <sys/stat.h>
#endif
+#ifdef WIN32
+#include <io.h>
+#endif
/*-------------------------------------------------------------------------
diff --git a/tools/h5repart.c b/tools/h5repart.c
index 6704f38..de7b3df 100644
--- a/tools/h5repart.c
+++ b/tools/h5repart.c
@@ -32,6 +32,10 @@
# include <sys/stat.h>
#endif
+#ifdef WIN32
+#include <io.h>
+#endif
+
#ifndef FALSE
#define FALSE 0
#endif