aboutsummaryrefslogtreecommitdiff
path: root/include/arpa/inet.h
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-06-29 22:51:40 -0500
committerBrent Cook <busterb@gmail.com>2015-07-02 00:19:53 -0500
commit545454277a0be1dcb17b64cb10530a881aae760d (patch)
treedebdf3d7ff6eb7a877a813fd01fc414a0316c883 /include/arpa/inet.h
parent8414df69bc5463e13d91b865d8f21c294e2fe18b (diff)
downloadportable-545454277a0be1dcb17b64cb10530a881aae760d.tar.gz
portable-545454277a0be1dcb17b64cb10530a881aae760d.tar.bz2
portable-545454277a0be1dcb17b64cb10530a881aae760d.zip
add check for inet_pton, nudge minimum win32 compat to 0x0501
Diffstat (limited to 'include/arpa/inet.h')
-rw-r--r--include/arpa/inet.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index 5d43e4f..67740c6 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -7,4 +7,13 @@
7#include_next <arpa/inet.h> 7#include_next <arpa/inet.h>
8#else 8#else
9#include <win32netcompat.h> 9#include <win32netcompat.h>
10
11#ifndef AI_ADDRCONFIG
12#define AI_ADDRCONFIG 0x00000400
13#endif
14
15#endif
16
17#ifndef HAVE_INET_PTON
18int inet_pton(int af, const char * restrict src, void * restrict dst);
10#endif 19#endif