mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
try fix windows build error
This commit is contained in:
parent
9a57353470
commit
086146a344
@ -1,6 +1,16 @@
|
||||
|
||||
#include "sys/socket.h"
|
||||
#include "netdb.h"
|
||||
#if defined(_WIN32)
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#include <Iphlpapi.h>
|
||||
#pragma comment (lib, "Ws2_32.lib")
|
||||
#pragma comment(lib,"Iphlpapi.lib")
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
#endif // defined(_WIN32)
|
||||
|
||||
|
||||
|
||||
#include <atomic>
|
||||
#include "Util/logger.h"
|
||||
|
Loading…
Reference in New Issue
Block a user