$NetBSD: patch-ag,v 1.1 2006/10/09 18:48:35 joerg Exp $ --- pcapsource.h.orig 2006-10-09 20:20:31.000000000 +0000 +++ pcapsource.h @@ -280,7 +280,7 @@ public: }; #endif -#if (defined(HAVE_RADIOTAP) && (defined(SYS_NETBSD) || defined(SYS_OPENBSD) || defined(SYS_FREEBSD))) +#if (defined(HAVE_RADIOTAP) && (defined(SYS_NETBSD) || defined(SYS_OPENBSD) || defined(SYS_FREEBSD) || defined(__DragonFly__))) class RadiotapBSD { public: RadiotapBSD(const char *ifname); @@ -455,7 +455,7 @@ int chancontrol_openbsd_prism2(const cha void *in_ext); #endif -#if (defined(HAVE_RADIOTAP) && (defined(SYS_NETBSD) || defined(SYS_OPENBSD) || defined(SYS_FREEBSD))) +#if (defined(HAVE_RADIOTAP) && (defined(SYS_NETBSD) || defined(SYS_OPENBSD) || defined(SYS_FREEBSD) || defined(__DragonFly__))) int monitor_bsd(const char *in_dev, int initch, char *in_err, void **in_if, void *in_ext); int unmonitor_bsd(const char *in_dev, int initch, char *in_err, void **in_if, void *in_ext); int chancontrol_bsd(const char *in_dev, int in_ch, char *in_err, void *in_ext);