[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Patch: correct configure check for netfilter_ipv4 support on some platforms.



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