diff options
author | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2019-07-20 08:53:35 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2019-07-20 08:53:35 +0200 |
commit | 63e6ffd8dd8412282e1beccb9a01e33aa57c13f0 (patch) | |
tree | f489a0246d74ed4b63c39eff4e6c72f9d5bd862a /tool | |
parent | d289e0569e0317ffd228d8d0bf9f4a7a7a4fc41c (diff) | |
parent | 1bd65df2de001b173a8d6a08397043225ad115ad (diff) |
Merge branch 'release/debian/0.9.3-1'debian/0.9.3-1
Diffstat (limited to 'tool')
-rw-r--r-- | tool/uriparse.c | 2 |
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> |