# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../iptraf/compile-fix.patch # Copyright (C) 2005 - 2008 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- iptraf-3.0.1/src/tcptable.h.vanilla 2008-09-04 16:00:30.000000000 +0200 +++ iptraf-3.0.1/src/tcptable.h 2008-09-04 16:06:18.000000000 +0200 @@ -20,12 +20,16 @@ #include #include #include +#include +#ifdef _NET_IF_H +#define _LINUX_IF_H +#endif #include #include #include #include #include -// #include +#include #include #include #include "servname.h" --- iptraf-3.0.1/src/othptab.c.vanilla 2008-09-04 15:59:34.000000000 +0200 +++ iptraf-3.0.1/src/othptab.c 2008-09-04 16:07:28.000000000 +0200 @@ -19,14 +19,10 @@ #include #include #include -#include -#include -#include -#include +#include "options.h" +#include "tcptable.h" #include #include "arphdr.h" -#include "options.h" -#include "tcptable.h" #include "othptab.h" #include "deskman.h" #include "attrs.h" diff -Nur iptraf-3.0.0-orig/src/tr.c iptraf-3.0.0/src/tr.c --- iptraf-3.0.0-orig/src/tr.c 2005-09-13 06:42:54.000000000 +0000 +++ iptraf-3.0.0/src/tr.c 2005-12-28 19:07:49.000000000 +0000 @@ -8,7 +8,7 @@ #include #include -#include +//#include unsigned int get_tr_ip_offset(unsigned char *pkt) {