diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2021-08-05 18:57:41 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2021-08-06 02:03:59 +0200 |
commit | f04d0eedc6028822a393ede583e071df54832b5e (patch) | |
tree | ab4dbe745d29d067571ef266d5fd026038d28e76 | |
parent | 72047e11ecd1e9263d3a4ac9ce5440df28eb012f (diff) | |
download | uriparser-f04d0eedc6028822a393ede583e071df54832b5e.tar.gz |
tool/uriparse.c: Fix inet_ntop prototype for older MinGW (fixes #117)
-rw-r--r-- | tool/uriparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/uriparse.c b/tool/uriparse.c index 421f99a..027f2d2 100644 --- a/tool/uriparse.c +++ b/tool/uriparse.c @@ -44,7 +44,7 @@ # include <winsock2.h> # include <ws2tcpip.h> # ifdef __MINGW32__ -WINSOCK_API_LINKAGE const char WSAAPI inet_ntop( +WINSOCK_API_LINKAGE const char * WSAAPI inet_ntop( int af, const void *src, char *dst, socklen_t size); # endif #else |