From: Patrick Welche Date: Tue, 11 Aug 2015 07:25:52 +0000 (-0700) Subject: Bug 4301: compile errors with IPFilter interception X-Git-Tag: SQUID_4_0_1~135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4218a48c207cd77ae6b7d99d7f3b07a6e1bfe1da;p=thirdparty%2Fsquid.git Bug 4301: compile errors with IPFilter interception --- diff --git a/acinclude/os-deps.m4 b/acinclude/os-deps.m4 index caf4d293b6..b5599fcced 100644 --- a/acinclude/os-deps.m4 +++ b/acinclude/os-deps.m4 @@ -888,6 +888,7 @@ AC_DEFUN([SQUID_CHECK_BROKEN_SOLARIS_IPFILTER],[ if test "x$squid_cv_broken_ipfilter_minor_t" = "x"; then AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ # include +# include # include # include @@ -902,6 +903,7 @@ AC_DEFUN([SQUID_CHECK_BROKEN_SOLARIS_IPFILTER],[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #define minor_t fubaar # include +# include # include # include #undef minor_t @@ -912,7 +914,7 @@ AC_DEFUN([SQUID_CHECK_BROKEN_SOLARIS_IPFILTER],[ AC_MSG_RESULT(yes) squid_cv_broken_ipfilter_minor_t=1 ],[ - AC_MSG_RESULT(unable to make IPFilter work with netinet/ headers) + AC_MSG_ERROR(unable to make IPFilter work with netinet/ headers) ]) ]) fi @@ -940,6 +942,9 @@ AC_DEFUN([SQUID_CHECK_BROKEN_SOLARIS_IPFILTER],[ #if HAVE_SYS_TYPES_H #include #endif +#if HAVE_SYS_TIME_H +#include +#endif #if HAVE_NETINET_IN_H #include #endif