Patch from coderman: detect transparent proxy header correctly on some linux versions.

svn:r15726
This commit is contained in:
Nick Mathewson 2008-07-07 15:09:26 +00:00
parent 0e3efc1140
commit 133f011c49
2 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,9 @@ Changes in version 0.2.1.3-alpha - 2008-07-xx
- When opening /dev/null in finish_daemonize(), do not pass the - When opening /dev/null in finish_daemonize(), do not pass the
O_CREAT flag. Fortify was complaining, and correctly so. Fixes O_CREAT flag. Fortify was complaining, and correctly so. Fixes
bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
- Correctly detect transparent proxy support on Linux hosts that
require in.h to be included before netfilter_ipv4.h. Patch from
coderman.
Changes in version 0.2.1.2-alpha - 2008-06-20 Changes in version 0.2.1.2-alpha - 2008-06-20

View File

@ -349,6 +349,9 @@ AC_CHECK_HEADERS(linux/netfilter_ipv4.h,
#endif #endif
#ifdef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h> #include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif]) #endif])
if test x$transparent = xtrue ; then if test x$transparent = xtrue ; then