summaryrefslogtreecommitdiff
path: root/tool/uriparse.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2019-04-26 17:57:49 +0200
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2019-04-26 17:57:49 +0200
commit1920f1b489a54e8ab97a3e24b1bab64831e32b53 (patch)
tree1cdcec7df7eafec396d29e94bc35554c210fb8db /tool/uriparse.c
parent63b80068976fbc5460c284aef0e6560abcf13e68 (diff)
New upstream version 0.9.2upstream/0.9.2
Diffstat (limited to 'tool/uriparse.c')
-rw-r--r--tool/uriparse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/uriparse.c b/tool/uriparse.c
index fc8bbb5..105e5cc 100644
--- a/tool/uriparse.c
+++ b/tool/uriparse.c
@@ -43,8 +43,10 @@
#ifdef _WIN32
# include <winsock2.h>
# include <ws2tcpip.h>
+# ifdef __MINGW32__
WINSOCK_API_LINKAGE const char WSAAPI inet_ntop(
int af, const void *src, char *dst, socklen_t size);
+# endif
#else
# include <sys/socket.h>
# include <arpa/inet.h>