diff options
author | joerg <joerg@pkgsrc.org> | 2006-03-14 02:10:10 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-03-14 02:10:10 +0000 |
commit | 79d25ca85e2e034dafd9de6758cd613a2c77d1ab (patch) | |
tree | 60152d1edef3efc9c7d27cc45102afa3dd7ad5ea /net/cia/patches | |
parent | e3de0d0616fa3876e9da13e4c81a61373e1353a0 (diff) | |
download | pkgsrc-79d25ca85e2e034dafd9de6758cd613a2c77d1ab.tar.gz |
Fix DragonFly build.
Diffstat (limited to 'net/cia/patches')
-rw-r--r-- | net/cia/patches/patch-ad | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/cia/patches/patch-ad b/net/cia/patches/patch-ad new file mode 100644 index 00000000000..8df0855cec3 --- /dev/null +++ b/net/cia/patches/patch-ad @@ -0,0 +1,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> + |