summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/external.c3
-rw-r--r--test/overhead.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/external.c b/test/external.c
index 5d3e253..a6ecc16 100644
--- a/test/external.c
+++ b/test/external.c
@@ -18,6 +18,9 @@
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
+#endif
+
+#ifdef HAVE_IO_H
# include <io.h>
#endif
diff --git a/test/overhead.c b/test/overhead.c
index ec3b877..13a6c7d 100644
--- a/test/overhead.c
+++ b/test/overhead.c
@@ -18,6 +18,9 @@
# include <stdlib.h>
# include <sys/stat.h>
# include <string.h>
+#endif
+
+#ifdef HAVE_IO_H
# include <io.h>
#endif