fix peerguardian: include missing 'linux/types.h' before using netfilter
authorNicolas Thill <nico@openwrt.org>
Sun, 11 Jan 2009 04:44:01 +0000 (04:44 +0000)
committerNicolas Thill <nico@openwrt.org>
Sun, 11 Jan 2009 04:44:01 +0000 (04:44 +0000)
SVN-Revision: 13977

net/peerguardian/patches/002-new_libipq.patch

index f5c79d62b7d6d4ea998838e6feff288d51d9b935..386f6454d55811ccfa5f1697d2bbb15b369e08c7 100644 (file)
  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 <linux/types.h>
+ #include <linux/netfilter.h>
+ extern "C" {
+ #include <libipq.h>