summaryrefslogtreecommitdiffstats
path: root/src/hdf5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hdf5.h')
-rw-r--r--src/hdf5.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hdf5.h b/src/hdf5.h
index ce4ed62..a80945b 100644
--- a/src/hdf5.h
+++ b/src/hdf5.h
@@ -19,6 +19,8 @@
#define _HDF5_H
#include <H5public.h>
+#include <H5Ipublic.h> /* IDs (this has to come near the top, to define hid_t) */
+#include <H5Apublic.h> /* Attributes */
#include <H5ACpublic.h> /* Metadata cache */
#include <H5Bpublic.h> /* B-trees */
#include <H5Dpublic.h> /* Datasets */
@@ -27,7 +29,6 @@
#include <H5Gpublic.h> /* Groups */
#include <H5HGpublic.h> /* Global heaps */
#include <H5HLpublic.h> /* Local heaps */
-#include <H5Ipublic.h> /* IDs */
#include <H5MFpublic.h> /* File memory management */
#include <H5MMpublic.h> /* Core memory management */
#include <H5Opublic.h> /* Object headers */