diff options
author | Ron Yorston <rmy@pobox.com> | 2015-07-15 14:24:23 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-07-15 14:24:23 +0100 |
commit | 9fe16f6102d8ab907c056c484988057904092c06 (patch) | |
tree | 57eebf666b5f39b4d876a1876fffafaa05d711a6 /include/mingw.h | |
parent | 70a4a723c507efc4e1bcfa4d4685da0821bff6dc (diff) | |
download | busybox-w32-9fe16f6102d8ab907c056c484988057904092c06.tar.gz busybox-w32-9fe16f6102d8ab907c056c484988057904092c06.tar.bz2 busybox-w32-9fe16f6102d8ab907c056c484988057904092c06.zip |
mingw: enable support for IPv6
Import inet_pton from gnulib and enable IPv6 support by default.
Diffstat (limited to 'include/mingw.h')
-rw-r--r-- | include/mingw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index 858e011de..005c17d14 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -22,6 +22,7 @@ typedef __int64 pid_t; | |||
22 | static inline unsigned int git_ntohl(unsigned int x) { return (unsigned int)ntohl(x); } | 22 | static inline unsigned int git_ntohl(unsigned int x) { return (unsigned int)ntohl(x); } |
23 | #define ntohl git_ntohl | 23 | #define ntohl git_ntohl |
24 | int inet_aton(const char *cp, struct in_addr *inp); | 24 | int inet_aton(const char *cp, struct in_addr *inp); |
25 | int inet_pton(int af, const char *src, void *dst); | ||
25 | 26 | ||
26 | /* | 27 | /* |
27 | * fcntl.h | 28 | * fcntl.h |