22 lines
584 B
Text
22 lines
584 B
Text
$NetBSD: patch-aa,v 1.2 2006/02/24 20:33:47 joerg Exp $
|
|
|
|
--- flodo.c.orig 2004-11-08 04:05:14.000000000 +0000
|
|
+++ flodo.c
|
|
@@ -51,7 +51,7 @@
|
|
#include <errno.h>
|
|
#include <sysexits.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>
|
|
@@ -60,6 +60,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
|