$NetBSD: patch-aa,v 1.2 2008/11/23 21:21:43 hasso Exp $

--- src/polkit-dbus/polkit-resolve-exe-helper.c.orig	2008-05-30 17:24:44.000000000 -0400
+++ src/polkit-dbus/polkit-resolve-exe-helper.c
@@ -40,7 +40,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#ifdef HAVE_FREEBSD
+#if defined(HAVE_FREEBSD) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__APPLE__)
 #include <sys/param.h>
 #endif
 #include <security/pam_appl.h>
