summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2019-04-26 17:58:14 +0200
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2019-04-26 17:58:14 +0200
commitfddb419b78bc873fb6fb9e8dc49c28e5ac5113f1 (patch)
tree3009ac597dd206aa4bfaa50725ed6e7542119877 /tool
parent4c6be44409a51e938aa1c9e4d920348d5317a3d2 (diff)
parent5444b1728ba7cfc55e85fd3022b6e88c9441327c (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'tool')
-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>