$OpenBSD: patch-src_gs-auth-pam_c,v 1.2 2011/05/31 14:27:49 ajacoutot Exp $

https://bugzilla.gnome.org/show_bug.cgi?id=651554

--- src/gs-auth-pam.c.orig	Fri Oct  1 14:32:08 2010
+++ src/gs-auth-pam.c	Tue May 31 11:45:10 2011
@@ -24,6 +24,8 @@
 
 #include "config.h"
 
+#ifndef HAVE_BSDAUTH
+
 #include <stdlib.h>
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
@@ -771,3 +773,4 @@ gs_auth_priv_init (void)
         /* Return true anyway, just in case. */
         return TRUE;
 }
+#endif // HAVE_BSDAUTH
