$NetBSD: patch-ab,v 1.1.1.1 2008/11/22 03:33:38 jmcneill Exp $

--- tools/polkit-auth.c.orig	2008-05-30 17:24:44.000000000 -0400
+++ tools/polkit-auth.c
@@ -37,7 +37,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
-#if defined(HAVE_SOLARIS) || defined(HAVE_FREEBSD)
+#if defined(HAVE_SOLARIS) || defined(HAVE_FREEBSD) || defined(__NetBSD__) || defined(__DragonFly__)
 #include <sys/wait.h>
 #endif
 #include <pwd.h>
