[package] fix iptraf compilation failure (#4387)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14054 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
af46bf9997
commit
f35135a30a
22
net/iptraf/patches/004-includes_fix.patch
Normal file
22
net/iptraf/patches/004-includes_fix.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -urN iptraf-3.0.0/src/othptab.c iptraf-3.0.0.new/src/othptab.c
|
||||
--- iptraf-3.0.0/src/othptab.c 2005-09-13 08:42:54.000000000 +0200
|
||||
+++ iptraf-3.0.0.new/src/othptab.c 2009-01-16 15:45:08.000000000 +0100
|
||||
@@ -17,6 +17,7 @@
|
||||
***/
|
||||
|
||||
#include <asm/types.h>
|
||||
+#include <sys/types.h>
|
||||
#include <linux/if_ether.h>
|
||||
#include <linux/if_tr.h>
|
||||
#include <linux/if_fddi.h>
|
||||
diff -urN iptraf-3.0.0/src/tr.c iptraf-3.0.0.new/src/tr.c
|
||||
--- iptraf-3.0.0/src/tr.c 2005-09-13 08:42:54.000000000 +0200
|
||||
+++ iptraf-3.0.0.new/src/tr.c 2009-01-16 15:47:47.000000000 +0100
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <asm/types.h>
|
||||
+#include <sys/types.h>
|
||||
#include <linux/if_tr.h>
|
||||
#include <netinet/in.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user