summaryrefslogtreecommitdiff
path: root/security/policykit/patches/patch-aa
blob: d74cd70d00d73a858041cefb0062a263259c4b91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.3 2008/12/20 19:44:00 jmcneill 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>