Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC
Commits
0b6f8e5c
Commit
0b6f8e5c
authored
Jun 06, 2020
by
Rémi Denis-Courmont
Browse files
Check for <poll.h> explicitly
parent
be6f5dfb
Pipeline
#18579
failed with stage
in 21 minutes and 4 seconds
Changes
26
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
0b6f8e5c
...
...
@@ -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>
...
...
modules/access/amt.c
View file @
0b6f8e5c
...
...
@@ -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
...
...
modules/access/http/h2conn.c
View file @
0b6f8e5c
...
...
@@ -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
...
...
modules/access/http/h2output.c
View file @
0b6f8e5c
...
...
@@ -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
...
...
modules/access/mms/mmstu.c
View file @
0b6f8e5c
...
...
@@ -36,7 +36,7 @@
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL
_H
# include <poll.h>
#endif
...
...
modules/access/nfs.c
View file @
0b6f8e5c
...
...
@@ -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
...
...
modules/access/rdp.c
View file @
0b6f8e5c
...
...
@@ -58,7 +58,7 @@
#endif
#include <errno.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL
_H
# include <poll.h>
#endif
...
...
modules/access/rist.c
View file @
0b6f8e5c
...
...
@@ -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>
...
...
modules/access/rtp/datagram.c
View file @
0b6f8e5c
...
...
@@ -24,7 +24,7 @@
#include <errno.h>
#include <stdlib.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL
_H
#include <poll.h>
#endif
...
...
modules/access/rtp/input.c
View file @
0b6f8e5c
...
...
@@ -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
...
...
modules/access/satip.c
View file @
0b6f8e5c
...
...
@@ -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>
...
...
modules/access/smb2.c
View file @
0b6f8e5c
...
...
@@ -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
...
...
modules/access/udp.c
View file @
0b6f8e5c
...
...
@@ -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
...
...
modules/access_output/rist.c
View file @
0b6f8e5c
...
...
@@ -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>
...
...
modules/control/lirc.c
View file @
0b6f8e5c
...
...
@@ -37,7 +37,7 @@
#include <vlc_interface.h>
#include <vlc_actions.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL
_H
# include <poll.h>
#endif
...
...
modules/control/netsync.c
View file @
0b6f8e5c
...
...
@@ -37,7 +37,7 @@
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_POLL
#ifdef HAVE_POLL
_H
# include <poll.h>
#endif
...
...
modules/lua/libs/net.c
View file @
0b6f8e5c
...
...
@@ -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>
...
...
modules/services_discovery/sap.c
View file @
0b6f8e5c
...
...
@@ -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
...
...
modules/services_discovery/xcb_apps.c
View file @
0b6f8e5c
...
...
@@ -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
...
...
modules/stream_out/chromecast/chromecast_communication.cpp
View file @
0b6f8e5c
...
...
@@ -28,7 +28,7 @@
#endif
#include "chromecast.h"
#ifdef HAVE_POLL
#ifdef HAVE_POLL
_H
# include <poll.h>
#endif
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment