packages/net/iptraf/patches/004-includes_fix.patch
florian 987b192ee2 [package] update iptraf to 3.0.1 (#5866)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-20 13:15:49 +00:00

21 lines
372 B
Diff

--- a/src/othptab.c
+++ b/src/othptab.c
@@ -18,6 +18,7 @@ details.
#include <stdlib.h>
#include <asm/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <linux/if_ether.h>
#include <linux/if_tr.h>
--- a/src/tr.c
+++ b/src/tr.c
@@ -7,6 +7,7 @@
*/
#include <asm/types.h>
+#include <sys/types.h>
#include <linux/if_tr.h>
#include <netinet/in.h>