summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index b928d41..d20be17 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -66,9 +66,11 @@
/*
* C9x integer types
*/
+#ifndef __cplusplus
#ifdef H5_HAVE_STDINT_H
# include <stdint.h>
#endif
+#endif
/*
* The `struct stat' data type for stat() and fstat(). This is a Posix file