Commit 0b6f8e5c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Check for <poll.h> explicitly

parent be6f5dfb
......@@ -732,7 +732,7 @@ AH_BOTTOM([#include <vlc_fixups.h>])
dnl Check for struct pollfd
AC_CHECK_TYPES([struct pollfd],,,
[#include <sys/types.h>
#if HAVE_POLL
#if HAVE_POLL_H
# include <poll.h>
#elif defined (_WIN32)
# include <winsock2.h>
......@@ -953,7 +953,7 @@ dnl Check for headers
dnl
dnl POSIX
AC_CHECK_HEADERS([arpa/inet.h pthread.h search.h sys/shm.h sys/socket.h sys/uio.h])
AC_CHECK_HEADERS([arpa/inet.h poll.h pthread.h search.h sys/shm.h sys/socket.h sys/uio.h])
AC_CHECK_HEADERS([net/if.h], [], [],
[
#include <sys/types.h>
......
......@@ -58,7 +58,7 @@
#include <vlc_interrupt.h>
#include <vlc_url.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
#ifdef HAVE_SYS_UIO_H
......
......@@ -26,7 +26,7 @@
#include <errno.h>
#include <inttypes.h>
#include <stdlib.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
#ifdef HAVE_SYS_UIO_H
......
......@@ -25,7 +25,7 @@
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
#ifdef HAVE_SYS_UIO_H
......
......@@ -36,7 +36,7 @@
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
......
......@@ -29,7 +29,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
......
......@@ -58,7 +58,7 @@
#endif
#include <errno.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
......
......@@ -35,7 +35,7 @@
#include <vlc_network.h>
#include <vlc_block.h>
#include <vlc_url.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
#include <bitstream/ietf/rtcp_rr.h>
......
......@@ -24,7 +24,7 @@
#include <errno.h>
#include <stdlib.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
......
......@@ -26,7 +26,7 @@
#include <limits.h>
#include <errno.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
#ifdef HAVE_SYS_UIO_H
......
......@@ -41,7 +41,7 @@
#include <vlc_url.h>
#include <vlc_interrupt.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
#include <fcntl.h>
......
......@@ -29,7 +29,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
......
......@@ -41,7 +41,7 @@
#include <vlc_network.h>
#include <vlc_block.h>
#include <vlc_interrupt.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
#ifdef HAVE_SYS_UIO_H
......
......@@ -36,7 +36,7 @@
#include <vlc_queue.h>
#include <vlc_threads.h>
#include <vlc_rand.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
#include <sys/time.h>
......
......@@ -37,7 +37,7 @@
#include <vlc_interface.h>
#include <vlc_actions.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
......
......@@ -37,7 +37,7 @@
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
......
......@@ -32,7 +32,7 @@
#ifdef _WIN32
#include <io.h>
#endif
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
#include <poll.h> /* poll structures and defines */
#endif
#include <sys/stat.h>
......
......@@ -45,7 +45,7 @@
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
......
......@@ -35,7 +35,7 @@ typedef xcb_atom_t Atom;
#ifdef HAVE_SEARCH_H
# include <search.h>
#endif
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
#ifdef _WIN32
......
......@@ -28,7 +28,7 @@
#endif
#include "chromecast.h"
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
......
......@@ -26,7 +26,7 @@
#include <stdarg.h>
#include <assert.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
#include <unistd.h> /* gethostname() and sysconf() */
......
......@@ -29,7 +29,7 @@
#include <stdbool.h>
#include <stdlib.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
#ifdef HAVE_SYS_EVENTFD_H
......
......@@ -51,7 +51,7 @@
# include <sys/uio.h>
#endif
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
......
......@@ -38,7 +38,7 @@
#include <assert.h>
#include <unistd.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
#ifdef HAVE_LINUX_DCCP_H
......
......@@ -30,7 +30,7 @@
# include "config.h"
#endif
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
#include <assert.h>
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#ifdef HAVE_POLL
#ifdef HAVE_POLL_H
# include <poll.h>
#endif
#include <assert.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