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

index 42fd0f439740e8c067fce384f199545948b21fa2..ec1d0089d4d2c78c95f3155d204858e45766b4f0 100644 (file)
@@ -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 <windows.h>
 #endif
index 45a61ce46e10fa20ece052e6abf9c0e1ddbdf4a6..5160b4d180a35d474fa831a8ed0215d9af583de1 100644 (file)
@@ -57,8 +57,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