From 9fe16f6102d8ab907c056c484988057904092c06 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Wed, 15 Jul 2015 14:24:23 +0100 Subject: mingw: enable support for IPv6 Import inet_pton from gnulib and enable IPv6 support by default. --- include/mingw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/mingw.h') 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; static inline unsigned int git_ntohl(unsigned int x) { return (unsigned int)ntohl(x); } #define ntohl git_ntohl int inet_aton(const char *cp, struct in_addr *inp); +int inet_pton(int af, const char *src, void *dst); /* * fcntl.h -- cgit v1.2.3-55-g6feb