summaryrefslogtreecommitdiffstats
path: root/test/extend.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/extend.c')
-rw-r--r--test/extend.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/extend.c b/test/extend.c
index 361592f..86afe3f 100644
--- a/test/extend.c
+++ b/test/extend.c
@@ -7,9 +7,17 @@
*
* Purpose: Tests extendible datasets.
*/
-#include <assert.h>
+
+/* See H5private.h for how to include headers */
+#undef NDEBUG
+#include <H5config.h>
+
+#ifdef STDC_HEADERS
+# include <assert.h>
+# include <stdlib.h>
+#endif
+
#include <hdf5.h>
-#include <stdlib.h>
#define TEST_FILE_NAME "extend.h5"
#define NX 100 /* USE AN EVEN NUMBER!*/