# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../iptraf/compile-fix.patch # Copyright (C) 2005 - 2006 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. # --- SDE-COPYRIGHT-NOTE-END --- diff -Nur iptraf-3.0.0-orig/src/othptab.c iptraf-3.0.0/src/othptab.c --- iptraf-3.0.0-orig/src/othptab.c 2005-09-13 06:42:54.000000000 +0000 +++ iptraf-3.0.0/src/othptab.c 2005-12-28 19:01:08.000000000 +0000 @@ -17,13 +17,14 @@ ***/ #include -#include -#include -#include +#include "tcptable.h" +//#include +//#include +//#include #include #include "arphdr.h" #include "options.h" -#include "tcptable.h" +//#include "tcptable.h" #include "othptab.h" #include "deskman.h" #include "attrs.h" diff -Nur iptraf-3.0.0-orig/src/packet.c iptraf-3.0.0/src/packet.c --- iptraf-3.0.0-orig/src/packet.c 2005-09-13 06:42:54.000000000 +0000 +++ iptraf-3.0.0/src/packet.c 2005-12-28 19:02:18.000000000 +0000 @@ -32,6 +32,9 @@ #include #include #include +#ifdef _NET_IF_H +#define _LINUX_IF_H +#endif #include #include #include diff -Nur iptraf-3.0.0-orig/src/tcptable.h iptraf-3.0.0/src/tcptable.h --- iptraf-3.0.0-orig/src/tcptable.h 2005-09-13 06:42:54.000000000 +0000 +++ iptraf-3.0.0/src/tcptable.h 2005-12-28 18:59:23.000000000 +0000 @@ -20,11 +20,15 @@ #include #include #include +#include +#ifdef _NET_IF_H +#define _LINUX_IF_H +#endif #include #include #include #include -#include +//#include #include #include #include "servname.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) {