summaryrefslogtreecommitdiff
path: root/net/cia/patches/patch-ad
blob: 8df0855cec3a5c317f0afe21123b706b1abace7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ad,v 1.1 2006/03/14 02:10:10 joerg Exp $

--- pcap2ipstat/pcap2ipstat.c.orig	2006-03-14 02:07:53.000000000 +0000
+++ pcap2ipstat/pcap2ipstat.c
@@ -7,9 +7,14 @@
 #include "checksum.h"
 
 #include <net/if.h>
+#if defined(__DragonFly__)
+#include <net/ethernet.h>
+#include <net/ppp_layer/ppp_defs.h>
+#else
 #include <net/if_ether.h>
 #include <net/ethertypes.h>
 #include <net/ppp_defs.h>
+#endif
 #include <netinet/tcp.h>
 #include <netinet/udp.h>