[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Patch: correct configure check for netfilter_ipv4 support on some platforms.
On Sun, Jul 06, 2008 at 10:08:07PM -0700, coderman wrote:
> on some systems the transparent proxy support is not enabled because
> of a failed check for netfilter_ipv4.h. this check fails because the
> ipv4 include expects some of the structure definitions in
> netfilter/in.h which is not included in the check.
>
> this patch includes in.h if present to fix the configure check.
>
> best regards,
> diff -Naur tor-svn-current/configure.in tor-patched/configure.in
> --- tor-svn-current/configure.in 2008-07-05 21:17:04.584497000 +0000
> +++ tor-patched/configure.in 2008-07-07 05:02:52.832713872 +0000
> @@ -349,6 +349,9 @@
> #endif
> #ifdef HAVE_SYS_SOCKET_H
> #include <sys/socket.h>
> +#endif
> +#ifdef HAVE_NETINET_IN_H
> +#include <netinet/in.h>
> #endif])
>
> if test x$transparent = xtrue ; then
Thanks; I've applied this in trunk and in the 0.2.0.x branch.