summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 9816d2e..261f580 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -41,9 +41,11 @@
#ifdef H5_STDC_HEADERS
# include <limits.h> /*for H5T_NATIVE_CHAR defn in H5Tpublic.h */
#endif
+#ifndef __cplusplus
#ifdef H5_HAVE_STDINT_H
# include <stdint.h> /*for C9x types */
#endif
+#endif
#ifdef H5_HAVE_INTTYPES_H
# include <inttypes.h> /* For uint64_t on some platforms */
#endif