mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
udp: Fix compiling with mingw.
https://bugzilla.gnome.org/show_bug.cgi?id=672880
This commit is contained in:
parent
117de9fd47
commit
eccb5b8fed
3 changed files with 7 additions and 0 deletions
|
@ -154,6 +154,9 @@ AX_CREATE_STDINT_H
|
||||||
dnl used in gst/udp
|
dnl used in gst/udp
|
||||||
AC_CHECK_HEADERS([sys/time.h])
|
AC_CHECK_HEADERS([sys/time.h])
|
||||||
|
|
||||||
|
dnl used in gst/udp
|
||||||
|
AC_CHECK_HEADERS([sys/socket.h])
|
||||||
|
|
||||||
dnl *** checks for types/defines ***
|
dnl *** checks for types/defines ***
|
||||||
|
|
||||||
dnl Check for FIONREAD ioctl declaration. This check is needed
|
dnl Check for FIONREAD ioctl declaration. This check is needed
|
||||||
|
|
|
@ -40,7 +40,9 @@
|
||||||
#include "gstmultiudpsink.h"
|
#include "gstmultiudpsink.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "gst/glib-compat-private.h"
|
#include "gst/glib-compat-private.h"
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,9 @@
|
||||||
|
|
||||||
#include <gst/net/gstnetaddressmeta.h>
|
#include <gst/net/gstnetaddressmeta.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (udpsrc_debug);
|
GST_DEBUG_CATEGORY_STATIC (udpsrc_debug);
|
||||||
#define GST_CAT_DEFAULT (udpsrc_debug)
|
#define GST_CAT_DEFAULT (udpsrc_debug)
|
||||||
|
|
Loading…
Reference in a new issue