summaryrefslogtreecommitdiff
path: root/security/policykit/patches/patch-ab
blob: 46212f2b93abff8e6b13ec59905acb40293d7209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.3 2012/12/27 21:04:11 bsiegert 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__) || defined(__OpenBSD__)
 #include <sys/wait.h>
 #endif
 #include <pwd.h>