update Tue Jun 22 06:37:08 PDT 2010
[pkgsrc.git] / security / policykit / patches / patch-ab
1 $NetBSD: patch-ab,v 1.2 2008/11/23 21:21:43 hasso Exp $
2
3 --- tools/polkit-auth.c.orig    2008-05-30 17:24:44.000000000 -0400
4 +++ tools/polkit-auth.c
5 @@ -37,7 +37,7 @@
6  #include <stdlib.h>
7  #include <string.h>
8  #include <sys/types.h>
9 -#if defined(HAVE_SOLARIS) || defined(HAVE_FREEBSD)
10 +#if defined(HAVE_SOLARIS) || defined(HAVE_FREEBSD) || defined(__NetBSD__) || defined(__DragonFly__)
11  #include <sys/wait.h>
12  #endif
13  #include <pwd.h>