mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 14:45:55 +08:00
try fix for windows build
This commit is contained in:
parent
c92fc8a4a8
commit
020b8b85ea
@ -1,11 +1,11 @@
|
|||||||
#ifndef ZLMEDIAKIT_SRT_COMMON_H
|
#ifndef ZLMEDIAKIT_SRT_COMMON_H
|
||||||
#define ZLMEDIAKIT_SRT_COMMON_H
|
#define ZLMEDIAKIT_SRT_COMMON_H
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#include <Iphlpapi.h>
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#pragma comment(lib, "Ws2_32.lib")
|
#include <Iphlpapi.h>
|
||||||
#pragma comment(lib, "Iphlpapi.lib")
|
#pragma comment (lib, "Ws2_32.lib")
|
||||||
|
#pragma comment(lib,"Iphlpapi.lib")
|
||||||
#else
|
#else
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user