Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* gst/gstpoll.c:
Fix compilation of GstPoll with mingw32. Fixes bug #526236.
+2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
+
+ Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
+
+ * gst/gstpoll.c:
+ Fix compilation of GstPoll with mingw32. Fixes bug #526236.
+
2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
* docs/design/draft-latency.txt:
#include "config.h"
#endif
-#ifndef _MSC_VER
-#define _GNU_SOURCE 1
-#include <sys/poll.h>
-#include <sys/time.h>
-#endif
-
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
#include <winsock2.h>
#define EINPROGRESS WSAEINPROGRESS
#else
+#define _GNU_SOURCE 1
+#include <sys/poll.h>
+#include <sys/time.h>
#include <sys/socket.h>
#endif