mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-22 11:04:51 -04:00
23 lines
624 B
Plaintext
23 lines
624 B
Plaintext
$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
|