]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows: fix iphlpapi.h include case-sensitivity
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 24 Jul 2014 08:56:18 +0000 (01:56 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 24 Jul 2014 08:56:18 +0000 (01:56 -0700)
configure.ac
src/eui/Eui48.cc

index f0297cefde615a972595c21b95413c06d9e5e72d..67bab6129b5478b0fa80d3fd1c54841521ac2ae8 100644 (file)
@@ -1169,7 +1169,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 \
@@ -2538,7 +2538,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 <windows.h>
 #endif
index f97fe2b6b497ad536364fab23bf581f677cf3c0f..5edb70b6af9c10e5c0b2243ca1c6420e149e7c91 100644 (file)
@@ -59,8 +59,9 @@ struct arpreq {
     struct sockaddr arp_ha;   /* hardware address */
     int arp_flags;            /* flags */
 };
-
-#include <Iphlpapi.h>
+#if HAVE_IPHLPAPI_H
+#include <iphlpapi.h>
+#endif
 #endif
 
 #if HAVE_SYS_PARAM_H