add check for inet_pton, nudge minimum win32 compat to 0x0501
This commit is contained in:
@@ -14,6 +14,7 @@ noinst_HEADERS += unistd.h
|
||||
noinst_HEADERS += win32netcompat.h
|
||||
|
||||
noinst_HEADERS += arpa/inet.h
|
||||
noinst_HEADERS += arpa/nameser.h
|
||||
|
||||
noinst_HEADERS += machine/endian.h
|
||||
|
||||
|
@@ -7,4 +7,13 @@
|
||||
#include_next <arpa/inet.h>
|
||||
#else
|
||||
#include <win32netcompat.h>
|
||||
|
||||
#ifndef AI_ADDRCONFIG
|
||||
#define AI_ADDRCONFIG 0x00000400
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_INET_PTON
|
||||
int inet_pton(int af, const char * restrict src, void * restrict dst);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user