diff options
author | Zenju <zenju@gmx.de> | 2019-05-22 11:11:36 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-05-23 11:10:28 +0200 |
commit | 170bd047f5f73ffa914ff21205018966f31e09c0 (patch) | |
tree | 0ea864b43a1710be61cad97d8ea844b4b5cec45b /lib/url.c | |
parent | c2a8d52a1356a722ff9f4aeb983cd4eaf80ef221 (diff) | |
download | curl-170bd047f5f73ffa914ff21205018966f31e09c0.tar.gz |
config-win32: add support for if_nametoindex and getsockname
Closes https://github.com/curl/curl/pull/3923
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -34,10 +34,12 @@ #ifdef HAVE_NET_IF_H #include <net/if.h> #endif +#ifdef HAVE_IPHLPAPI_H +#include <Iphlpapi.h> +#endif #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #endif - #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #endif |