Source
xxxxxxxxxx
--- helpers/basic_auth/PAM/pam_auth.c.orig 2005-05-18 02:56:25.000000000 +1000
+++ helpers/basic_auth/PAM/pam_auth.c 2009-12-19 12:19:07.000000000 +1100
#include <time.h>
#include <unistd.h>
+#if defined(__APPLE__)
+#include <AvailabilityMacros.h>
+#endif
+
+#if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED < 1060
+#include <pam/pam_appl.h>
+#else
#include <security/pam_appl.h>
+#endif
#include "util.h"