mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
poll: include correct poll.h based on autoconf test
https://bugzilla.gnome.org/show_bug.cgi?id=667286
This commit is contained in:
parent
1bf892ba02
commit
f0e121c197
1 changed files with 5 additions and 0 deletions
|
@ -75,7 +75,12 @@
|
|||
#define EINPROGRESS WSAEINPROGRESS
|
||||
#else
|
||||
#define _GNU_SOURCE 1
|
||||
#ifdef HAVE_SYS_POLL_H
|
||||
#include <sys/poll.h>
|
||||
#endif
|
||||
#ifdef HAVE_POLL_H
|
||||
#include <poll.h>
|
||||
#endif
|
||||
#include <sys/time.h>
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue