diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:20 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:20 +0900 |
commit | afd456999b076e5e6505dd5ca6942a5e7471c70c (patch) | |
tree | 9ee11bda8c1d6ada1938b0324ed01a2d99e99178 /src/mswindows.h | |
parent | 429760a22c7e2ff8a2de69744b04aa4b2f202119 (diff) | |
download | wget-afd456999b076e5e6505dd5ca6942a5e7471c70c.tar.gz wget-afd456999b076e5e6505dd5ca6942a5e7471c70c.tar.bz2 wget-afd456999b076e5e6505dd5ca6942a5e7471c70c.zip |
Imported Upstream version 1.19.2upstream/1.19.2
Diffstat (limited to 'src/mswindows.h')
-rw-r--r-- | src/mswindows.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mswindows.h b/src/mswindows.h index 09d7f8c..1bc2e21 100644 --- a/src/mswindows.h +++ b/src/mswindows.h @@ -57,6 +57,9 @@ as that of the covered work. */ /* Declares getpid(). */ #include <process.h> +/* Declares inet_ntop() and inet_pton(). */ +#include <arpa/inet.h> + /* We have strcasecmp and strncasecmp, just under different names. */ #ifndef HAVE_STRCASECMP # define strcasecmp stricmp @@ -85,11 +88,6 @@ typedef __int64 wgint; #define PATH_SEPARATOR '\\' -/* Additional declarations needed for IPv6: */ -#ifdef ENABLE_IPV6 -const char *inet_ntop (int, const void *, char *, socklen_t); -#endif - /* ioctl needed by set_windows_fd_as_blocking_socket() */ #include <sys/ioctl.h> |