From f0e121c1978bc6d19fef37a0b79971a3a0ea83f7 Mon Sep 17 00:00:00 2001 From: Idar Tollefsen Date: Sun, 1 Jan 2012 20:17:41 +0100 Subject: [PATCH] poll: include correct poll.h based on autoconf test https://bugzilla.gnome.org/show_bug.cgi?id=667286 --- gst/gstpoll.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gst/gstpoll.c b/gst/gstpoll.c index a2c9836f42..55855087c8 100644 --- 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 +#endif +#ifdef HAVE_POLL_H +#include +#endif #include #include #endif