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
This commit is contained in:
nico 2009-01-11 04:44:01 +00:00
parent 07491d244f
commit e3d41061a6

View File

@ -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 <linux/types.h>
#include <linux/netfilter.h>
extern "C" {
#include <libipq.h>