Commit b3ca48f3 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Assume that sys/time.h is available on Unix.

parent a7ac3de3
...@@ -8648,12 +8648,6 @@ then : ...@@ -8648,12 +8648,6 @@ then :
printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
fi fi
ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_time_h" = xyes
then :
printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "sys/timeout.h" "ac_cv_header_sys_timeout_h" "$ac_includes_default" ac_fn_c_check_header_compile "$LINENO" "sys/timeout.h" "ac_cv_header_sys_timeout_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_timeout_h" = xyes if test "x$ac_cv_header_sys_timeout_h" = xyes
then : then :
...@@ -9485,9 +9479,7 @@ then : ...@@ -9485,9 +9479,7 @@ then :
fi fi
ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
#include <sys/time.h>
#endif
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_ASM_TYPES_H #ifdef HAVE_ASM_TYPES_H
#include <asm/types.h> #include <asm/types.h>
......
...@@ -500,7 +500,6 @@ AC_CHECK_HEADERS(\ ...@@ -500,7 +500,6 @@ AC_CHECK_HEADERS(\
sys/strtio.h \ sys/strtio.h \
sys/syscall.h \ sys/syscall.h \
sys/sysinfo.h \ sys/sysinfo.h \
sys/time.h \
sys/timeout.h \ sys/timeout.h \
sys/times.h \ sys/times.h \
sys/uio.h \ sys/uio.h \
...@@ -643,9 +642,7 @@ AC_CHECK_HEADERS([pthread_np.h],,, ...@@ -643,9 +642,7 @@ AC_CHECK_HEADERS([pthread_np.h],,,
#endif]) #endif])
AC_CHECK_HEADERS([linux/videodev2.h],,, AC_CHECK_HEADERS([linux/videodev2.h],,,
[#ifdef HAVE_SYS_TIME_H [#include <sys/time.h>
#include <sys/time.h>
#endif
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_ASM_TYPES_H #ifdef HAVE_ASM_TYPES_H
#include <asm/types.h> #include <asm/types.h>
......
...@@ -49,9 +49,7 @@ ...@@ -49,9 +49,7 @@
# include <sys/syscall.h> # include <sys/syscall.h>
#endif #endif
#include <sys/socket.h> #include <sys/socket.h>
#ifdef HAVE_SYS_TIME_H #include <sys/time.h>
# include <sys/time.h>
#endif
#ifdef HAVE_SYS_ATTR_H #ifdef HAVE_SYS_ATTR_H
#include <sys/attr.h> #include <sys/attr.h>
#endif #endif
......
...@@ -34,9 +34,7 @@ ...@@ -34,9 +34,7 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include <sys/socket.h> #include <sys/socket.h>
#ifdef HAVE_SYS_TIME_H #include <sys/time.h>
# include <sys/time.h>
#endif
#ifdef HAVE_SYS_TIMES_H #ifdef HAVE_SYS_TIMES_H
# include <sys/times.h> # include <sys/times.h>
#endif #endif
......
...@@ -37,9 +37,7 @@ ...@@ -37,9 +37,7 @@
#ifdef HAVE_SYS_SYSCALL_H #ifdef HAVE_SYS_SYSCALL_H
#include <sys/syscall.h> #include <sys/syscall.h>
#endif #endif
#ifdef HAVE_SYS_TIME_H #include <sys/time.h>
# include <sys/time.h>
#endif
#include <poll.h> #include <poll.h>
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_SCHED_H #ifdef HAVE_SCHED_H
......
...@@ -33,9 +33,7 @@ ...@@ -33,9 +33,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_TIME_H #include <sys/time.h>
# include <sys/time.h>
#endif
#include <time.h> #include <time.h>
#ifdef HAVE_SYS_PARAM_H #ifdef HAVE_SYS_PARAM_H
# include <sys/param.h> # include <sys/param.h>
......
...@@ -37,9 +37,7 @@ ...@@ -37,9 +37,7 @@
#endif #endif
#include <sys/mman.h> #include <sys/mman.h>
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h> #include <sys/time.h>
#endif
#ifdef HAVE_ASM_TYPES_H #ifdef HAVE_ASM_TYPES_H
#include <asm/types.h> #include <asm/types.h>
#endif #endif
......
...@@ -26,9 +26,7 @@ ...@@ -26,9 +26,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#ifdef HAVE_SYS_TIME_H #include <sys/time.h>
# include <sys/time.h>
#endif
#include <unistd.h> #include <unistd.h>
#include <dlfcn.h> #include <dlfcn.h>
#include <X11/cursorfont.h> #include <X11/cursorfont.h>
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/time.h>
#ifdef HAVE_NETDB_H #ifdef HAVE_NETDB_H
# include <netdb.h> # include <netdb.h>
#endif #endif
...@@ -62,9 +63,6 @@ ...@@ -62,9 +63,6 @@
# include <ifaddrs.h> # include <ifaddrs.h>
#endif #endif
#include <poll.h> #include <poll.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_NETIPX_IPX_H #ifdef HAVE_NETIPX_IPX_H
# include <netipx/ipx.h> # include <netipx/ipx.h>
......
...@@ -712,9 +712,6 @@ ...@@ -712,9 +712,6 @@
/* Define to 1 if you have the <sys/times.h> header file. */ /* Define to 1 if you have the <sys/times.h> header file. */
#undef HAVE_SYS_TIMES_H #undef HAVE_SYS_TIMES_H
/* Define to 1 if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define to 1 if you have the <sys/types.h> header file. */ /* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H #undef HAVE_SYS_TYPES_H
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment