Fix breakage on _WIN32_WINNT>=0x0600 due to if_indextoname,
it is wrapped in a very odd way on Windows, both the includes
and required libraries. Using a pragma to create a link time
resolution for the required lib is simplest.
Submitted by: jeking3
#include <net/if.h>
#endif
+#if defined(HAVE_IF_INDEXTONAME) && defined(_MSC_VER)
+#include <Iphlpapi.h>
+#pragma comment(lib, "Iphlpapi.lib")
+#endif
+
#define APR_WANT_STRFUNC
#include "apr_want.h"
