summaryrefslogtreecommitdiffstats
path: root/test/th5s.c
diff options
context:
space:
mode:
authorM. Scot Breitenfeld <brtnfld@hdfgroup.org>2018-03-09 22:57:54 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2018-03-09 22:57:54 (GMT)
commita5d95ec0832d8b24e44277b3bdb90b21ea16ff2d (patch)
treeab4a705acd06c1df3aa6f54652804ce5ddb7e4f2 /test/th5s.c
parent3093cb5bbac5d91d16787f998346dc0270322597 (diff)
parent2a5d608f7bf5f99fb61898a331fde2ccc170117e (diff)
downloadhdf5-a5d95ec0832d8b24e44277b3bdb90b21ea16ff2d.zip
hdf5-a5d95ec0832d8b24e44277b3bdb90b21ea16ff2d.tar.gz
hdf5-a5d95ec0832d8b24e44277b3bdb90b21ea16ff2d.tar.bz2
Merge branch 'develop' into hdf5_1_10_merge
Diffstat (limited to 'test/th5s.c')
-rw-r--r--test/th5s.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/test/th5s.c b/test/th5s.c
index cd855e9..d23e0ea 100644
--- a/test/th5s.c
+++ b/test/th5s.c
@@ -42,9 +42,24 @@
#include "H5Opkg.h" /* Object header */
#include "H5Bprivate.h"
-#include "H5Sprivate.h"
+#include "H5Iprivate.h"
#include "H5Pprivate.h"
+/*
+ * This file needs to access private information from the H5S package.
+ * This file also needs to access the dataspace testing code.
+ */
+#define H5S_FRIEND /*suppress error about including H5Spkg */
+#include "H5Spkg.h" /* Dataspaces */
+
+/*
+ * This file needs to access private information from the H5O package.
+ * This file also needs to access the dataspace testing code.
+ */
+#define H5O_FRIEND /*suppress error about including H5Opkg */
+#define H5O_TESTING
+#include "H5Opkg.h" /* Object header */
+
#define TESTFILE "th5s.h5"
#define DATAFILE "th5s1.h5"
#define NULLFILE "th5s2.h5"