projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bf892b
)
poll: include correct poll.h based on autoconf test
author
Idar Tollefsen
<itollefs@cisco.com>
Sun, 1 Jan 2012 19:17:41 +0000
(20:17 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Wed, 4 Jan 2012 23:47:46 +0000
(23:47 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=667286
gst/gstpoll.c
patch
|
blob
|
history
diff --git
a/gst/gstpoll.c
b/gst/gstpoll.c
index
a2c9836
..
5585508
100644
(file)
--- a/
gst/gstpoll.c
+++ b/
gst/gstpoll.c
@@
-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