diff --git a/srt/Packet.cpp b/srt/Packet.cpp index 38c5c147..18ad279c 100644 --- a/srt/Packet.cpp +++ b/srt/Packet.cpp @@ -1,6 +1,16 @@  -#include "sys/socket.h" -#include "netdb.h" +#if defined(_WIN32) +#include +#include +#include +#pragma comment (lib, "Ws2_32.lib") +#pragma comment(lib,"Iphlpapi.lib") +#else +#include +#include +#endif // defined(_WIN32) + + #include #include "Util/logger.h"