summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dsets.c')
-rw-r--r--test/dsets.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/test/dsets.c b/test/dsets.c
index 5bc4f70..873928e 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -17,12 +17,16 @@
*
* Purpose: Tests the dataset interface (H5D)
*/
+#define H5D_TESTING
#include "testhdf5.h"
#include "H5srcdir.h"
-#ifdef H5_HAVE_SZLIB_H
-# include "szlib.h"
-#endif
+
+/*
+ * This file needs to access private datatypes from the H5D package.
+ */
+#define H5D_PACKAGE
+#include "H5Dpkg.h"
/*
* This file needs to access private datatypes from the H5Z package.
@@ -30,6 +34,10 @@
#define H5Z_PACKAGE
#include "H5Zpkg.h"
+#ifdef H5_HAVE_SZLIB_H
+# include "szlib.h"
+#endif
+
const char *FILENAME[] = {
"dataset",