pkgsrc/net/wimon/patches/patch-aa
wiz e09113f249 Fix build on NetBSD-current, patch from Anon.
While here: set LICENSE, add comments to patches.
2014-05-09 18:10:16 +00:00

20 lines
436 B
Text

$NetBSD: patch-aa,v 1.3 2014/05/09 18:10:16 wiz Exp $
DragonFly support.
--- showi.c.orig 2006-01-08 21:26:47.000000000 +0000
+++ showi.c
@@ -51,6 +51,13 @@
#include <net/if_var.h>
#include <net/ethernet.h>
#include <dev/wi/if_wavelan_ieee.h>
+
+#elif defined(__DragonFly__)
+#include <net/if_var.h>
+#include <net/ethernet.h>
+#include <dev/netif/wi/if_wavelan_ieee.h>
+#include <sys/endian.h>
+
#else
#include <netinet/in.h>