diff --git a/network_io/unix/sockaddr.c b/network_io/unix/sockaddr.c index 8e4bde3e3b4..94b00983b41 100644 --- a/network_io/unix/sockaddr.c +++ b/network_io/unix/sockaddr.c @@ -29,6 +29,11 @@ #include #endif +#if defined(HAVE_IF_INDEXTONAME) && defined(_MSC_VER) +#include +#pragma comment(lib, "Iphlpapi.lib") +#endif + #define APR_WANT_STRFUNC #include "apr_want.h"