- more changes for windows build
This commit is contained in:
parent
98a87714fa
commit
9126b106f5
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue