summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5config.h.in3
-rw-r--r--src/H5public.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index 2b287ec..46dd706 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -464,3 +464,6 @@
/* Define to `long' if <sys/types.h> does not define. */
#undef ssize_t
+
+/* Define if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
diff --git a/src/H5public.h b/src/H5public.h
index 42e8ee3..21169ec 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -42,6 +42,9 @@
#ifdef H5_HAVE_STDINT_H
# include <stdint.h> /*for C9x types */
#endif
+#ifdef H5_HAVE_INTTYPES_H
+# include <inttypes.h> /* For uint64_t on some platforms */
+#endif
#ifdef H5_HAVE_STDDEF_H
# include <stddef.h>
#endif