summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 330c6e3..270fa42 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -29,7 +29,13 @@
* prevent repeated include.
*/
#include "H5pubconf.h" /*from configure */
+
+#ifdef H5_HAVE_FEATURES_H
+#include <features.h> /*for setting POSIX, BSD, etc. compatibility */
+#endif
+#ifdef H5_HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
#ifdef H5_STDC_HEADERS
# include <limits.h> /*for H5T_NATIVE_CHAR defn in H5Tpublic.h */
#endif