From: nico Date: Sun, 11 Jan 2009 04:44:01 +0000 (+0000) Subject: fix peerguardian: include missing 'linux/types.h' before using netfilter X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=e3d41061a62dbc8708886c0404cd98d37d1ab75c;p=packages.git fix peerguardian: include missing 'linux/types.h' before using netfilter git-svn-id: svn://svn.openwrt.org/openwrt/packages@13977 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/peerguardian/patches/002-new_libipq.patch b/net/peerguardian/patches/002-new_libipq.patch index f5c79d62b..386f6454d 100644 --- a/net/peerguardian/patches/002-new_libipq.patch +++ b/net/peerguardian/patches/002-new_libipq.patch @@ -20,3 +20,13 @@ pgtext_LDADD = -lncurses -lpthread peerguardnf_LDFLAGS = $(all_includes) AM_CPPFLAGS = $(ALL_INCLUDES) +--- a/Blocker_Linux.cpp ++++ b/Blocker_Linux.cpp +@@ -22,6 +22,7 @@ + + #include "PeerGuard.h" + ++#include + #include + extern "C" { + #include