--- src/polkit-grant/polkit-grant-helper-pam.c.orig	2009-05-04 11:01:10.000000000 -0700
+++ src/polkit-grant/polkit-grant-helper-pam.c	2009-05-04 11:02:07.000000000 -0700
@@ -39,8 +39,11 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <syslog.h>
+#ifdef __APPLE__
+#include <pam/pam_appl.h>
+#else
 #include <security/pam_appl.h>
-
+#endif
 #include <kit/kit.h>
 
 #ifdef HAVE_SOLARIS

