projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3983050
)
fix peerguardian: include missing 'linux/types.h' before using netfilter
author
Nicolas Thill
<nico@openwrt.org>
Sun, 11 Jan 2009 04:44:01 +0000
(
04:44
+0000)
committer
Nicolas 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
patch
|
blob
|
history
diff --git
a/net/peerguardian/patches/002-new_libipq.patch
b/net/peerguardian/patches/002-new_libipq.patch
index f5c79d62b7d6d4ea998838e6feff288d51d9b935..386f6454d55811ccfa5f1697d2bbb15b369e08c7 100644
(file)
--- 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 <linux/types.h>
+ #include <linux/netfilter.h>
+ extern "C" {
+ #include <libipq.h>