diff options
author | Brent Cook <bcook@openbsd.org> | 2015-06-29 22:51:40 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2015-07-02 00:19:53 -0500 |
commit | 545454277a0be1dcb17b64cb10530a881aae760d (patch) | |
tree | debdf3d7ff6eb7a877a813fd01fc414a0316c883 /include/arpa/inet.h | |
parent | 8414df69bc5463e13d91b865d8f21c294e2fe18b (diff) | |
download | portable-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.h | 9 |
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 | ||
18 | int inet_pton(int af, const char * restrict src, void * restrict dst); | ||
10 | #endif | 19 | #endif |