Source
xxxxxxxxxx
--- helpers/basic_auth/PAM/basic_pam_auth.cc.orig 2012-08-15 13:24:19.000000000 +1000
+++ helpers/basic_auth/PAM/basic_pam_auth.cc 2012-08-17 16:54:29.000000000 +1000
#endif
#if HAVE_SECURITY_PAM_APPL_H
#include <security/pam_appl.h>
+#elif defined(__APPLE__)
+#include <AvailabilityMacros.h>
+#if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED < 1060
+#include <pam/pam_appl.h>
+#endif
#endif
/* The default PAM service name */