summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/external.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/external.c b/test/external.c
index 0777a68..5d3e253 100644
--- a/test/external.c
+++ b/test/external.c
@@ -10,7 +10,7 @@
/* See H5private.h for how to include headers */
#undef NDEBUG
-#include <hdf5.h>
+#include <H5config.h>
#ifdef STDC_HEADERS
# include <assert.h>
@@ -18,6 +18,7 @@
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
+# include <io.h>
#endif
#ifdef HAVE_UNISTD_H
@@ -25,6 +26,8 @@
# include <unistd.h>
#endif
+#include <hdf5.h>
+
#ifndef HAVE_ATTRIBUTE
# undef __attribute__
# define __attribute__(X) /*void*/
@@ -580,7 +583,7 @@ test_2 (void)
puts (" Failed to read dataset");
break;
}
-
+
for (i=0; i<100; i++) {
if (whole[i]!=(signed)i) {
puts ("*FAILED*");