From: Amos Jeffries Date: Sun, 13 Jul 2014 08:49:42 +0000 (-0700) Subject: Windows: fix iphlpapi.h include case-sensitivity X-Git-Tag: SQUID_3_5_0_1~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b966288bdf12dbd83b8c7ff4c1d33fbf5e917ab1;p=thirdparty%2Fsquid.git Windows: fix iphlpapi.h include case-sensitivity --- diff --git a/configure.ac b/configure.ac index 42fd0f4397..ec1d0089d4 100644 --- a/configure.ac +++ b/configure.ac @@ -1134,7 +1134,7 @@ if test "x${enable_eui:=yes}" = "xyes" ; then AC_MSG_WARN([EUI support probably will not work on host $host.]) ;; esac - #Iphlpapi.h check delayed after winsock2.h + # iphlpapi.h check delayed after winsock2.h AC_CHECK_HEADERS( \ windows.h \ sys/sockio.h \ @@ -2514,7 +2514,7 @@ if test "x$squid_host_os" = "xmingw" ; then AC_CHECK_HEADERS( \ windows.h \ ws2tcpip.h \ - Iphlpapi.h ,,,[ + iphlpapi.h ,,,[ #if HAVE_WINDOWS_H #include #endif diff --git a/src/eui/Eui48.cc b/src/eui/Eui48.cc index 45a61ce46e..5160b4d180 100644 --- a/src/eui/Eui48.cc +++ b/src/eui/Eui48.cc @@ -57,8 +57,9 @@ struct arpreq { struct sockaddr arp_ha; /* hardware address */ int arp_flags; /* flags */ }; - -#include +#if HAVE_IPHLPAPI_H +#include +#endif #endif #if HAVE_SYS_PARAM_H