mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
parent
c398f2f376
commit
8927dbc98b
1 changed files with 3 additions and 3 deletions
|
@ -69,14 +69,14 @@
|
||||||
#include <gst/gstinfo.h> /* For GST_STR_NULL */
|
#include <gst/gstinfo.h> /* For GST_STR_NULL */
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
#ifdef _MSC_VER
|
|
||||||
#include <Winsock2.h>
|
|
||||||
#endif
|
|
||||||
/* ws2_32.dll has getaddrinfo and freeaddrinfo on Windows XP and later.
|
/* ws2_32.dll has getaddrinfo and freeaddrinfo on Windows XP and later.
|
||||||
* minwg32 headers check WINVER before allowing the use of these */
|
* minwg32 headers check WINVER before allowing the use of these */
|
||||||
#ifndef WINVER
|
#ifndef WINVER
|
||||||
#define WINVER 0x0501
|
#define WINVER 0x0501
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#include <Winsock2.h>
|
||||||
|
#endif
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#else
|
#else
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
Loading…
Reference in a new issue