mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gst/gstpoll.c: Fix compilation of GstPoll with mingw32. Fixes bug #526236.
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.
This commit is contained in:
parent
878e4d9204
commit
2c3a6718be
2 changed files with 10 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
|||
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:
|
||||
|
|
|
@ -56,12 +56,6 @@
|
|||
#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
|
||||
|
@ -77,6 +71,9 @@
|
|||
#include <winsock2.h>
|
||||
#define EINPROGRESS WSAEINPROGRESS
|
||||
#else
|
||||
#define _GNU_SOURCE 1
|
||||
#include <sys/poll.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue