Commit 411592bf authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent e5d69d9e
...@@ -8678,12 +8678,6 @@ then : ...@@ -8678,12 +8678,6 @@ then :
printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
fi fi
ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_wait_h" = xyes
then :
printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default" ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
if test "x$ac_cv_header_syscall_h" = xyes if test "x$ac_cv_header_syscall_h" = xyes
then : then :
......
...@@ -505,7 +505,6 @@ AC_CHECK_HEADERS(\ ...@@ -505,7 +505,6 @@ AC_CHECK_HEADERS(\
sys/user.h \ sys/user.h \
sys/utsname.h \ sys/utsname.h \
sys/vnode.h \ sys/vnode.h \
sys/wait.h \
syscall.h \ syscall.h \
utime.h \ utime.h \
valgrind/memcheck.h \ valgrind/memcheck.h \
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/wait.h>
#include <unistd.h> #include <unistd.h>
#include <dlfcn.h> #include <dlfcn.h>
#ifdef HAVE_PWD_H #ifdef HAVE_PWD_H
...@@ -52,9 +53,6 @@ ...@@ -52,9 +53,6 @@
#ifdef HAVE_SYS_RESOURCE_H #ifdef HAVE_SYS_RESOURCE_H
# include <sys/resource.h> # include <sys/resource.h>
#endif #endif
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#include <limits.h> #include <limits.h>
#ifdef HAVE_SYS_SYSCTL_H #ifdef HAVE_SYS_SYSCTL_H
# include <sys/sysctl.h> # include <sys/sysctl.h>
......
...@@ -39,9 +39,7 @@ ...@@ -39,9 +39,7 @@
# include <sys/times.h> # include <sys/times.h>
#endif #endif
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_SYS_WAIT_H #include <sys/wait.h>
# include <sys/wait.h>
#endif
#ifdef HAVE_SYS_SYSCTL_H #ifdef HAVE_SYS_SYSCTL_H
# include <sys/sysctl.h> # include <sys/sysctl.h>
#endif #endif
......
...@@ -45,9 +45,7 @@ ...@@ -45,9 +45,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/socket.h> #include <sys/socket.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h> #include <sys/wait.h>
#endif
#ifdef HAVE_SYS_UN_H #ifdef HAVE_SYS_UN_H
#include <sys/un.h> #include <sys/un.h>
#endif #endif
......
...@@ -733,9 +733,6 @@ ...@@ -733,9 +733,6 @@
/* Define to 1 if you have the <sys/vnode.h> header file. */ /* Define to 1 if you have the <sys/vnode.h> header file. */
#undef HAVE_SYS_VNODE_H #undef HAVE_SYS_VNODE_H
/* Define to 1 if you have the <sys/wait.h> header file. */
#undef HAVE_SYS_WAIT_H
/* Define to 1 if you have the `tcdrain' function. */ /* Define to 1 if you have the `tcdrain' function. */
#undef HAVE_TCDRAIN #undef HAVE_TCDRAIN
......
...@@ -28,9 +28,7 @@ ...@@ -28,9 +28,7 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h> #include <sys/wait.h>
#endif
#include <sys/mman.h> #include <sys/mman.h>
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_STDINT_H #ifdef HAVE_STDINT_H
......
...@@ -27,15 +27,13 @@ ...@@ -27,15 +27,13 @@
#include <signal.h> #include <signal.h>
#include <stdarg.h> #include <stdarg.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h>
#ifdef HAVE_SYS_PTRACE_H #ifdef HAVE_SYS_PTRACE_H
# include <sys/ptrace.h> # include <sys/ptrace.h>
#endif #endif
#ifdef HAVE_SYS_PARAM_H #ifdef HAVE_SYS_PARAM_H
# include <sys/param.h> # include <sys/param.h>
#endif #endif
#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
#ifdef HAVE_SYS_SYSCALL_H #ifdef HAVE_SYS_SYSCALL_H
# include <sys/syscall.h> # include <sys/syscall.h>
#endif #endif
......
...@@ -35,9 +35,7 @@ ...@@ -35,9 +35,7 @@
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#ifdef HAVE_SYS_WAIT_H #include <sys/wait.h>
# include <sys/wait.h>
#endif
#ifdef HAVE_SYS_UIO_H #ifdef HAVE_SYS_UIO_H
#include <sys/uio.h> #include <sys/uio.h>
#endif #endif
......
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