Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 4e38c3c3afd9e1517c557470a82eff76 > files > 8

iptraf-3.0.0-4mdv2008.0.src.rpm

--- iptraf-3.0.0/src/ifstats.c.old	2007-04-03 15:12:40.000000000 +0200
+++ iptraf-3.0.0/src/ifstats.c	2007-04-03 15:13:00.000000000 +0200
@@ -26,6 +26,7 @@
 #include <time.h>
 #include <sys/time.h>
 #include <sys/types.h>
+#include <linux/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <netinet/in.h>
--- iptraf-3.0.0/src/serv.c.old	2007-04-04 13:59:33.000000000 +0200
+++ iptraf-3.0.0/src/serv.c	2007-04-04 14:17:33.000000000 +0200
@@ -32,6 +32,7 @@
 #include <netinet/in.h>
 #include <netinet/ip.h>
 #include <netinet/udp.h>
+#include <linux/types.h>
 #include <linux/if_packet.h>
 #include <linux/if_ether.h>
 #include <listbox.h>
--- iptraf-3.0.0/src/ifaces.c.old	2007-04-04 14:23:05.000000000 +0200
+++ iptraf-3.0.0/src/ifaces.c	2007-04-04 14:25:32.000000000 +0200
@@ -27,6 +27,7 @@
 #include <net/if.h>
 #include <fcntl.h>
 #include <string.h>
+#include <linux/types.h>
 #include <linux/if_packet.h>
 #include "links.h"
 #include "error.h"