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 f5c79d6..386f645 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>