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_fsm.h \
pcap/pcap.h \
poll.h \
port.h \
pthread.h \
pwd.h \
@ -7496,7 +7495,6 @@ for ac_header in \
sys/modem.h \
sys/mtio.h \
sys/param.h \
sys/poll.h \
sys/prctl.h \
sys/protosw.h \
sys/ptrace.h \

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -389,9 +389,6 @@
/* Define to 1 if you have the `pipe2' function. */
#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. */
#undef HAVE_PORT_CREATE
@ -658,9 +655,6 @@
/* Define to 1 if you have the <sys/param.h> header file. */
#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. */
#undef HAVE_SYS_PRCTL_H

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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