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