pkgsrc/net/cia/patches/patch-ad
2006-03-14 02:10:10 +00:00

19 lines
465 B
Text

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