--- src/polkit-grant/polkit-grant-helper.c.orig	2008-05-30 14:24:44.000000000 -0700
+++ src/polkit-grant/polkit-grant-helper.c	2009-05-04 10:59:07.000000000 -0700
@@ -41,8 +41,12 @@
 #include <sys/stat.h>
 
 #ifdef POLKIT_AUTHFW_PAM
+#ifdef __APPLE__
+#include <pam/pam_appl.h>
+#else
 #include <security/pam_appl.h>
 #endif
+#endif
 
 #ifdef POLKIT_AUTHFW_SHADOW
 #include <shadow.h>

