diff options
author | Baljak <baljci@hotmail.com> | 2022-01-08 04:29:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-08 04:29:25 (GMT) |
commit | 8430e3d661cdcf91ed60626e87be936a6f15afe8 (patch) | |
tree | b220767ba4419f12052958f097c78c88a0e23990 /src/H5private.h | |
parent | bf27121b5d01939c819ac8b5b96101a16175c4de (diff) | |
download | hdf5-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.h | 4 |
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 |