$NetBSD: patch-ac,v 1.3 2008/12/20 21:11:05 jmcneill Exp $ --- tools/hal-storage-unmount.c.orig 2008-05-08 02:24:17 +0300 +++ tools/hal-storage-unmount.c 2008-11-23 13:40:23 +0200 @@ -31,13 +31,17 @@ #include #include #include -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__APPLE__) #include #include #include #include #include #include +#elif __NetBSD__ +#include +#include +#include #elif sun #include #include