summaryrefslogtreecommitdiff
path: root/extra/iptraf/iptraf-3.0.0-headerfix.patch
blob: 604d63e26f173d54464727b8942400f4a4eaf5f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff -Naur iptraf-3.0.0-minus/src/othptab.c iptraf-3.0.0/src/othptab.c
--- iptraf-3.0.0-minus/src/othptab.c	2006-09-27 03:30:33.000000000 +0200
+++ iptraf-3.0.0/src/othptab.c	2006-09-27 03:34:24.000000000 +0200
@@ -17,6 +17,7 @@
 ***/
 
 #include <asm/types.h>
+#include <sys/types.h>
 #include <linux/if_ether.h>
 #include <winops.h>
 #include "arphdr.h"
diff -Naur iptraf-3.0.0-minus/src/tr.c iptraf-3.0.0/src/tr.c
--- iptraf-3.0.0-minus/src/tr.c	2005-09-13 08:42:54.000000000 +0200
+++ iptraf-3.0.0/src/tr.c	2006-09-27 03:32:54.000000000 +0200
@@ -7,8 +7,8 @@
  */
 
 #include <asm/types.h>
-#include <linux/if_tr.h>
 #include <netinet/in.h>
+#include <linux/if_tr.h>
 
 unsigned int get_tr_ip_offset(unsigned char *pkt)
 {