summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-08-21 01:45:49 (GMT)
committerGitHub <noreply@github.com>2021-08-21 01:45:49 (GMT)
commitd4a9a064cbcc11965cc67c79c1690a7f92c2e1cb (patch)
treef1cfacb1829225ae5104bb2e5f7de730e63424dc /src
parentbfde29127563374424a7d80a2a1f10de7626af19 (diff)
downloadhdf5-d4a9a064cbcc11965cc67c79c1690a7f92c2e1cb.zip
hdf5-d4a9a064cbcc11965cc67c79c1690a7f92c2e1cb.tar.gz
hdf5-d4a9a064cbcc11965cc67c79c1690a7f92c2e1cb.tar.bz2
Merge windows compiler fixes #912 (#948)
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