summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 07705e4..ec33898 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -63,6 +63,9 @@
* compliant. Otherwise all bets are off.
*/
#ifdef H5_HAVE_UNISTD_H
+#ifdef H5_HAVE_PWD_H
+#include <pwd.h>
+#endif
#include <sys/types.h>
#include <unistd.h>
#endif