summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1998-11-19 19:15:13 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1998-11-19 19:15:13 (GMT)
commit3afdf4ac7ebf02e12aec2031f2422335bec067aa (patch)
tree7f2bbc07e356cf3b1e2f86885e5030bd05f20fa4 /test
parent0bf637b3d229f7b0723398bf1260bae8d912542b (diff)
downloadhdf5-3afdf4ac7ebf02e12aec2031f2422335bec067aa.zip
hdf5-3afdf4ac7ebf02e12aec2031f2422335bec067aa.tar.gz
hdf5-3afdf4ac7ebf02e12aec2031f2422335bec067aa.tar.bz2
[svn-r931] added io.h in the stdc_header section
Diffstat (limited to 'test')
-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*");