packages/net/iptraf/patches/004-includes_fix.patch

21 lines
372 B
Diff
Raw Normal View History

--- 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>