2014-11-19 14:43:07 +01:00
|
|
|
/*
|
|
|
|
* Public domain
|
|
|
|
* arpa/inet.h compatibility shim
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _WIN32
|
|
|
|
#include_next <arpa/inet.h>
|
|
|
|
#else
|
|
|
|
#include <win32netcompat.h>
|
2015-06-30 05:51:40 +02:00
|
|
|
|
|
|
|
#ifndef AI_ADDRCONFIG
|
|
|
|
#define AI_ADDRCONFIG 0x00000400
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_INET_PTON
|
2014-07-11 05:06:10 +02:00
|
|
|
int inet_pton(int af, const char * src, void * dst);
|
2014-11-19 14:43:07 +01:00
|
|
|
#endif
|