$NetBSD: patch-aa,v 1.2 2008/11/23 16:07:16 hasso Exp $

--- ddf_raid.c.orig	2008-11-22 08:33:28.000000000 -0500
+++ ddf_raid.c
@@ -22,7 +22,7 @@
 #include <string.h>
 #include <errno.h>
 #include <ctype.h>
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
 #include <sys/endian.h>
 #else
 #include <byteswap.h>
