configure: Stop checking for poll.h and sys/poll.h - always use poll.h.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2021-10-04 15:40:14 +01:00 committed by Alexandre Julliard
parent c0cf153751
commit 6fdae1979b
20 changed files with 6 additions and 73 deletions

2
configure vendored
View File

@ -7473,7 +7473,6 @@ for ac_header in \
netinet/tcp.h \ netinet/tcp.h \
netinet/tcp_fsm.h \ netinet/tcp_fsm.h \
pcap/pcap.h \ pcap/pcap.h \
poll.h \
port.h \ port.h \
pthread.h \ pthread.h \
pwd.h \ pwd.h \
@ -7496,7 +7495,6 @@ for ac_header in \
sys/modem.h \ sys/modem.h \
sys/mtio.h \ sys/mtio.h \
sys/param.h \ sys/param.h \
sys/poll.h \
sys/prctl.h \ sys/prctl.h \
sys/protosw.h \ sys/protosw.h \
sys/ptrace.h \ sys/ptrace.h \

View File

@ -465,7 +465,6 @@ AC_CHECK_HEADERS(\
netinet/tcp.h \ netinet/tcp.h \
netinet/tcp_fsm.h \ netinet/tcp_fsm.h \
pcap/pcap.h \ pcap/pcap.h \
poll.h \
port.h \ port.h \
pthread.h \ pthread.h \
pwd.h \ pwd.h \
@ -488,7 +487,6 @@ AC_CHECK_HEADERS(\
sys/modem.h \ sys/modem.h \
sys/mtio.h \ sys/mtio.h \
sys/param.h \ sys/param.h \
sys/poll.h \
sys/prctl.h \ sys/prctl.h \
sys/protosw.h \ sys/protosw.h \
sys/ptrace.h \ sys/ptrace.h \

View File

@ -44,9 +44,6 @@
#ifdef HAVE_SYS_IOCTL_H #ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif #endif
#ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif
#ifdef HAVE_SYS_MODEM_H #ifdef HAVE_SYS_MODEM_H
# include <sys/modem.h> # include <sys/modem.h>
#endif #endif

View File

@ -39,12 +39,7 @@
#ifdef HAVE_SYS_TIME_H #ifdef HAVE_SYS_TIME_H
# include <sys/time.h> # include <sys/time.h>
#endif #endif
#ifdef HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif
#ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_SCHED_H #ifdef HAVE_SCHED_H
# include <sched.h> # include <sched.h>

View File

@ -34,12 +34,7 @@
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif #endif
#ifdef HAVE_POLL_H #include <poll.h>
# include <poll.h>
#endif
#ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif
#ifdef HAVE_LIBUDEV_H #ifdef HAVE_LIBUDEV_H
# include <libudev.h> # include <libudev.h>
#endif #endif

View File

@ -54,12 +54,7 @@
#ifdef HAVE_SYS_IOCTL_H #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h> # include <sys/ioctl.h>
#endif #endif
#ifdef HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
#include <sys/soundcard.h> #include <sys/soundcard.h>
#include "windef.h" #include "windef.h"

View File

@ -21,12 +21,7 @@
#include "config.h" #include "config.h"
#ifdef HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
#include <X11/Xatom.h> #include <X11/Xatom.h>
#include <X11/keysym.h> #include <X11/keysym.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>

View File

@ -63,12 +63,7 @@
#ifdef HAVE_IFADDRS_H #ifdef HAVE_IFADDRS_H
# include <ifaddrs.h> # include <ifaddrs.h>
#endif #endif
#ifdef HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif
#ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif
#ifdef HAVE_SYS_TIME_H #ifdef HAVE_SYS_TIME_H
# include <sys/time.h> # include <sys/time.h>
#endif #endif

View File

@ -389,9 +389,6 @@
/* Define to 1 if you have the `pipe2' function. */ /* Define to 1 if you have the `pipe2' function. */
#undef HAVE_PIPE2 #undef HAVE_PIPE2
/* Define to 1 if you have the <poll.h> header file. */
#undef HAVE_POLL_H
/* Define to 1 if you have the `port_create' function. */ /* Define to 1 if you have the `port_create' function. */
#undef HAVE_PORT_CREATE #undef HAVE_PORT_CREATE
@ -658,9 +655,6 @@
/* Define to 1 if you have the <sys/param.h> header file. */ /* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H #undef HAVE_SYS_PARAM_H
/* Define to 1 if you have the <sys/poll.h> header file. */
#undef HAVE_SYS_POLL_H
/* Define to 1 if you have the <sys/prctl.h> header file. */ /* Define to 1 if you have the <sys/prctl.h> header file. */
#undef HAVE_SYS_PRCTL_H #undef HAVE_SYS_PRCTL_H

View File

@ -32,9 +32,7 @@
#include <dirent.h> #include <dirent.h>
#include <errno.h> #include <errno.h>
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_POLL_H #include <poll.h>
# include <poll.h>
#endif
#ifdef HAVE_SYS_INOTIFY_H #ifdef HAVE_SYS_INOTIFY_H
#include <sys/inotify.h> #include <sys/inotify.h>
#endif #endif

View File

@ -31,12 +31,7 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
#ifdef HAVE_LINUX_MAJOR_H #ifdef HAVE_LINUX_MAJOR_H
#include <linux/major.h> #include <linux/major.h>
#endif #endif

View File

@ -35,9 +35,7 @@
#ifdef HAVE_UTIME_H #ifdef HAVE_UTIME_H
#include <utime.h> #include <utime.h>
#endif #endif
#ifdef HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif
#include "ntstatus.h" #include "ntstatus.h"
#define WIN32_NO_STATUS #define WIN32_NO_STATUS

View File

@ -21,10 +21,7 @@
#ifndef __WINE_SERVER_OBJECT_H #ifndef __WINE_SERVER_OBJECT_H
#define __WINE_SERVER_OBJECT_H #define __WINE_SERVER_OBJECT_H
#ifdef HAVE_SYS_POLL_H #include <poll.h>
#include <sys/poll.h>
#endif
#include <sys/time.h> #include <sys/time.h>
#include "wine/server_protocol.h" #include "wine/server_protocol.h"
#include "wine/list.h" #include "wine/list.h"

View File

@ -35,9 +35,7 @@
# include <sys/socket.h> # include <sys/socket.h>
#endif #endif
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif
#include "ntstatus.h" #include "ntstatus.h"
#define WIN32_NO_STATUS #define WIN32_NO_STATUS

View File

@ -25,9 +25,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_POLL_H #include <poll.h>
# include <poll.h>
#endif
#include "ntstatus.h" #include "ntstatus.h"
#define WIN32_NO_STATUS #define WIN32_NO_STATUS

View File

@ -47,9 +47,7 @@
#include <sys/un.h> #include <sys/un.h>
#endif #endif
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif
#ifdef __APPLE__ #ifdef __APPLE__
# include <mach/mach_time.h> # include <mach/mach_time.h>
#endif #endif

View File

@ -32,6 +32,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>
#include <poll.h>
#ifdef HAVE_UTIME_H #ifdef HAVE_UTIME_H
#include <utime.h> #include <utime.h>
#endif #endif
@ -41,9 +42,6 @@
#ifdef HAVE_SYS_IOCTL_H #ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif #endif
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
#include "ntstatus.h" #include "ntstatus.h"
#define WIN32_NO_STATUS #define WIN32_NO_STATUS

View File

@ -23,12 +23,7 @@
#include <signal.h> #include <signal.h>
#include <stdio.h> #include <stdio.h>
#include <sys/time.h> #include <sys/time.h>
#ifdef HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
#ifdef HAVE_SYS_RESOURCE_H #ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h> #include <sys/resource.h>
#endif #endif

View File

@ -39,9 +39,7 @@
#ifdef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H
# include <netinet/in.h> # include <netinet/in.h>
#endif #endif
#ifdef HAVE_POLL_H #include <poll.h>
# include <poll.h>
#endif
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H

View File

@ -31,9 +31,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include <time.h> #include <time.h>
#ifdef HAVE_POLL_H
#include <poll.h> #include <poll.h>
#endif
#ifdef HAVE_SCHED_H #ifdef HAVE_SCHED_H
#include <sched.h> #include <sched.h>
#endif #endif