summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorBaljak <baljci@hotmail.com>2022-01-08 04:29:25 (GMT)
committerGitHub <noreply@github.com>2022-01-08 04:29:25 (GMT)
commit8430e3d661cdcf91ed60626e87be936a6f15afe8 (patch)
treeb220767ba4419f12052958f097c78c88a0e23990 /src/H5private.h
parentbf27121b5d01939c819ac8b5b96101a16175c4de (diff)
downloadhdf5-8430e3d661cdcf91ed60626e87be936a6f15afe8.zip
hdf5-8430e3d661cdcf91ed60626e87be936a6f15afe8.tar.gz
hdf5-8430e3d661cdcf91ed60626e87be936a6f15afe8.tar.bz2
Fix compilation issues with Mingw (#1342)
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 765e7b6..7838f46 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -44,10 +44,12 @@
#include <sys/time.h>
#endif
#ifdef H5_HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#ifdef H5_HAVE_PWD_H
#include <pwd.h>
#endif
-#include <unistd.h>
+#ifdef H5_HAVE_WAITPID
#include <sys/wait.h>
#endif