- more changes for windows build

This commit is contained in:
Dmytro Bogovych 2018-12-23 22:11:37 +02:00
parent 98a87714fa
commit 9126b106f5
1 changed files with 6 additions and 3 deletions

View File

@ -2,15 +2,18 @@
#define RESIP_GENERIC_IP_ADDRESS_HXX #define RESIP_GENERIC_IP_ADDRESS_HXX
#ifndef WIN32 #ifndef WIN32
#include <netinet/in.h> # include <netinet/in.h>
#else #else
#include <winsock2.h> # include <winsock2.h>
#include <Ws2tcpip.h> # include <Ws2tcpip.h>
#endif #endif
#include "rutil/Socket.hxx" #include "rutil/Socket.hxx"
#include "rutil/compat.hxx" #include "rutil/compat.hxx"
#ifndef IPPROTO_IPV6
# define IPPROTO_IPV6
#endif
namespace resip namespace resip
{ {