summaryrefslogtreecommitdiffstats
path: root/test/tohdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tohdr.c')
-rw-r--r--test/tohdr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tohdr.c b/test/tohdr.c
index b3a0b10..f3ddb22 100644
--- a/test/tohdr.c
+++ b/test/tohdr.c
@@ -22,6 +22,12 @@
#include <H5Gprivate.h>
#include <H5Oprivate.h>
+/*
+ * This file needs to access private datatypes from the H5G package.
+ */
+#define H5G_PACKAGE
+#include <H5Gpkg.h>
+
/*-------------------------------------------------------------------------
* Function: test_ohdr