summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-06-24 21:46:23 (GMT)
committerGitHub <noreply@github.com>2021-06-24 21:46:23 (GMT)
commitb16b7316c4afb7f59a4628ec5976659b8db3c497 (patch)
treee8c018d152c44d2f1c29a863a465354bf8c748a7 /src/H5private.h
parent5c3f4b3cb26f92fa0cc60f750816e122e8a68f8d (diff)
downloadhdf5-b16b7316c4afb7f59a4628ec5976659b8db3c497.zip
hdf5-b16b7316c4afb7f59a4628ec5976659b8db3c497.tar.gz
hdf5-b16b7316c4afb7f59a4628ec5976659b8db3c497.tar.bz2
Reorganization of C and POSIX headers in H5public.h & H5private.h (#793)
* Reorganization of C and POSIX headers in H5public.h & H5private.h Consolidated and removed duplicates * It turns out Windows has sys/types.h Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 327198d..f90aa94 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -31,21 +31,20 @@
#include <errno.h>
#include <fcntl.h>
#include <float.h>
-#include <limits.h>
#include <math.h>
#include <signal.h>
-#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
/* POSIX headers */
+#ifdef H5_HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#ifdef H5_HAVE_UNISTD_H
#include <pwd.h>
#include <unistd.h>
-#include <sys/time.h>
-#include <sys/types.h>
#include <sys/wait.h>
#endif