21970bd144
------------------------------ Wed Nov 29 17:13:25 2006 dean gaudet <dean@arctic.org> * flodo.c: flow statistics Sun Nov 7 20:20:48 2004 dean gaudet <dean@arctic.org> * flodo.c, local_mac.c: netbsd wants sys/types.h and sys/socket.h Sun Nov 7 17:55:05 2004 dean gaudet <dean@arctic.org> * hash.[ch]: generic hash implementation * local_mac.[ch]: crude support for figuring out local MAC addrs * flodo.c: use hash.[ch], and local_mac.[ch] * flodo.c: added -1 one-shot mode * flodo.8: created * release v4 ------------------------------ (previous package included flodo.8, so, above may have duplication)
22 lines
624 B
Text
22 lines
624 B
Text
$NetBSD: patch-aa,v 1.3 2015/03/07 07:42:16 mef Exp $
|
|
|
|
--- flodo.c.orig 2006-11-30 10:15:06.000000000 +0900
|
|
+++ flodo.c 2015-03-07 16:29:01.000000000 +0900
|
|
@@ -53,7 +53,7 @@
|
|
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <pcap.h>
|
|
-#if defined(__linux__) || defined(__FreeBSD__)
|
|
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
#include <net/ethernet.h>
|
|
#endif
|
|
#include <netinet/in.h>
|
|
@@ -62,6 +62,8 @@
|
|
#include <netinet/tcp.h>
|
|
#include <netinet/udp.h>
|
|
#if defined(__NetBSD__)
|
|
+#include <sys/types.h>
|
|
+#include <sys/socket.h>
|
|
#include <net/if.h>
|
|
#include <net/if_ether.h>
|
|
#endif
|