$NetBSD: patch-ab,v 1.5 2012/06/27 09:24:26 bsiegert Exp $ --- linux_raid.c.orig 2007-12-27 02:03:43.000000000 +0100 +++ linux_raid.c 2011-07-26 16:10:13.635691474 +0200 @@ -22,9 +22,9 @@ #include #include #include -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__MirBSD__) #include -#else +#elif !defined(__APPLE__) && !defined(__sun) #include #endif /* __FreeBSD__ */