From: Felix Fietkau Date: Sat, 15 Dec 2012 18:35:36 +0000 (+0000) Subject: iptraf: fix compile error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=444f4b9d555fb03424bcbd805f692859d2eaf723;p=openwrt%2Fsvn-archive%2Farchive.git iptraf: fix compile error SVN-Revision: 34708 --- diff --git a/net/iptraf/patches/004-includes_fix.patch b/net/iptraf/patches/004-includes_fix.patch index 50d218b3f8..439c2d7397 100644 --- a/net/iptraf/patches/004-includes_fix.patch +++ b/net/iptraf/patches/004-includes_fix.patch @@ -1,20 +1,59 @@ --- a/src/othptab.c +++ b/src/othptab.c -@@ -18,6 +18,7 @@ details. +@@ -18,9 +18,10 @@ details. #include #include +#include #include #include - #include +-#include ++#include + #include + #include + #include "arphdr.h" --- a/src/tr.c +++ b/src/tr.c -@@ -7,6 +7,7 @@ +@@ -7,7 +7,8 @@ */ #include +-#include +#include - #include ++#include #include + unsigned int get_tr_ip_offset(unsigned char *pkt) +--- a/src/tcptable.h ++++ b/src/tcptable.h +@@ -23,7 +23,7 @@ + #include + #include + #include +-#include ++#include + // #include + #include + #include +--- a/src/hostmon.c ++++ b/src/hostmon.c +@@ -31,7 +31,7 @@ details. + #include + #include + #include +-#include ++#include + #include + #include + #include +--- a/src/packet.c ++++ b/src/packet.c +@@ -35,7 +35,7 @@ details. + #include + #include + #include +-#include ++#include + #include + #include + #include