summaryrefslogtreecommitdiffstats
path: root/test/flush1.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-11-19 18:52:56 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-11-19 18:52:56 (GMT)
commite0dfe872a0c01d82a32e0e45c91012b301f8129e (patch)
treeb0ac79bd19d3f23cb71bb6c2215e09bbcf5c1ec8 /test/flush1.c
parent68bff3d352a5a8d87f582fb1a84361f3006b5ff4 (diff)
downloadhdf5-e0dfe872a0c01d82a32e0e45c91012b301f8129e.zip
hdf5-e0dfe872a0c01d82a32e0e45c91012b301f8129e.tar.gz
hdf5-e0dfe872a0c01d82a32e0e45c91012b301f8129e.tar.bz2
[svn-r929] Changes since 19981119
---------------------- ./test/flush2.c ./test/overhead.c Removed carriage-returns inserted by a broken operating system. ./test/big.c ./test/mtime.c ./test/ragged.c ./tools/h5ls.c Removed inclusion of <H5config.h>, system header files, and definition of __unused__ since this all happens in <H5private.h>. ./test/chunk.c ./test/cmpd_dset.c ./test/dsets.c ./test/dtypes.c ./test/extend.c ./test/external.c ./test/fillval.c ./test/flush1.c ./test/flush2.c ./test/iopipe.c ./test/links.c ./test/mount.c ./test/overhead.c ./test/shtype.c ./test/unlink.c ./tools/h5import.c ./tools/h5repart.c Removed inclusion of <H5config.h> since <hdf5.h> includes it. ./test/flush1.c Includes <stdlib.h>, protects inclusion of <unistd.h> by using HAVE_UNISTD_H instead of STDC_HEADERS.
Diffstat (limited to 'test/flush1.c')
-rw-r--r--test/flush1.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/flush1.c b/test/flush1.c
index 4596f86..40db166 100644
--- a/test/flush1.c
+++ b/test/flush1.c
@@ -14,14 +14,17 @@
/* See H5private.h for how to include headers */
#undef NDEBUG
-#include <H5config.h>
+#include <hdf5.h>
#ifdef STDC_HEADERS
# include <stdio.h>
-# include <unistd.h>
+# include <stdlib.h>
#endif
-#include <hdf5.h>
+#ifdef HAVE_UNISTD_H
+# include <sys/types.h>
+# include <unistd.h>
+#endif
#ifndef HAVE_ATTRIBUTE
# undef __attribute__