File tree Expand file tree Collapse file tree 5 files changed +2
-14
lines changed Expand file tree Collapse file tree 5 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,6 @@ CHECK_INCLUDE_FILE_CONCAT ("sys/resource.h" ${HDF_PREFIX}_HAVE_SYS_RESOURCE_H)
134134CHECK_INCLUDE_FILE_CONCAT ("sys/socket.h" ${HDF_PREFIX} _HAVE_SYS_SOCKET_H)
135135CHECK_INCLUDE_FILE_CONCAT ("sys/stat.h" ${HDF_PREFIX} _HAVE_SYS_STAT_H)
136136CHECK_INCLUDE_FILE_CONCAT ("sys/time.h" ${HDF_PREFIX} _HAVE_SYS_TIME_H)
137- CHECK_INCLUDE_FILE_CONCAT ("sys/types.h" ${HDF_PREFIX} _HAVE_SYS_TYPES_H)
138137CHECK_INCLUDE_FILE_CONCAT ("dirent.h" ${HDF_PREFIX} _HAVE_DIRENT_H)
139138CHECK_INCLUDE_FILE_CONCAT ("unistd.h" ${HDF_PREFIX} _HAVE_UNISTD_H)
140139CHECK_INCLUDE_FILE_CONCAT ("pwd.h" ${HDF_PREFIX} _HAVE_PWD_H)
@@ -196,7 +195,6 @@ macro (HDF_FUNCTION_TEST OTHER_TEST)
196195 foreach (def
197196 HAVE_SYS_TIME_H
198197 HAVE_UNISTD_H
199- HAVE_SYS_TYPES_H
200198 HAVE_SYS_SOCKET_H
201199 )
202200 if ("${${HDF_PREFIX} _${def} }" )
Original file line number Diff line number Diff line change 304304/* Define to 1 if you have the <sys/time.h> header file. */
305305#cmakedefine H5_HAVE_SYS_TIME_H @H5_HAVE_SYS_TIME_H@
306306
307- /* Define to 1 if you have the <sys/types.h> header file. */
308- #cmakedefine H5_HAVE_SYS_TYPES_H @H5_HAVE_SYS_TYPES_H@
309-
310307/* Define to 1 if you have the <szlib.h> header file. */
311308#cmakedefine H5_HAVE_SZLIB_H @H5_HAVE_SZLIB_H@
312309
Original file line number Diff line number Diff line change @@ -84,12 +84,10 @@ int main(void)
8484
8585#include <stdio.h>
8686#include <stdlib.h>
87+ #include <sys/types.h>
8788#ifdef HAVE_UNISTD_H
8889# include <unistd.h>
8990#endif
90- #ifdef HAVE_SYS_TYPES_H
91- # include <sys/types.h>
92- #endif
9391#ifdef HAVE_SYS_SOCKET_H
9492# include <sys/socket.h>
9593#endif
Original file line number Diff line number Diff line change 3838 * on Windows, though it doesn't necessarily contain all the POSIX types
3939 * we need for HDF5 (e.g. ssize_t).
4040 */
41- #ifdef H5_HAVE_SYS_TYPES_H
4241#include <sys/types.h>
43- #endif
4442
4543#ifdef H5_HAVE_PARALLEL
4644/* Don't link against MPI C++ bindings */
Original file line number Diff line number Diff line change 3333#include <stdio.h>
3434#include <stdlib.h>
3535#include <time.h>
36+ #include <sys/types.h>
3637
3738#ifdef H5_HAVE_SYS_STAT_H
3839#include <sys/stat.h>
4243#include <sys/time.h>
4344#endif
4445
45- #ifdef H5_HAVE_SYS_TYPES_H
46- #include <sys/types.h>
47- #endif
48-
4946#ifdef H5_HAVE_UNISTD_H
5047#include <unistd.h>
5148#endif
You can’t perform that action at this time.
0 commit comments