parent
c398f2f376
commit
8927dbc98b
@ -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…
x
Reference in New Issue
Block a user