]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add netinet/in.h to configure tests for ss_len etc.
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 3 Apr 2008 21:04:37 +0000 (09:04 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 3 Apr 2008 21:04:37 +0000 (09:04 +1200)
configure.in

index 348da3a5b00726c12337937cc4e8096ee6e95c21..2c0a481de6ff32769cd6c865e5623b30e9b4b5ae 100644 (file)
@@ -1804,6 +1804,7 @@ AC_CACHE_CHECK([for ss_len field in struct sockaddr_storage],
        AC_TRY_COMPILE([
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
                ],
                [ struct sockaddr_storage s; s.ss_len = 1; ],
                [ ac_cv_have_ss_len_in_struct_ss="yes" ],