Revision: 76599 http://trac.macports.org/changeset/76599 Author: jmr@macports.org Date: 2011-03-01 12:23:24 -0800 (Tue, 01 Mar 2011) Log Message: ----------- checkpassword-pam: include the right header Modified Paths: -------------- trunk/dports/security/checkpassword-pam/files/patch-pam-support.c Modified: trunk/dports/security/checkpassword-pam/files/patch-pam-support.c =================================================================== --- trunk/dports/security/checkpassword-pam/files/patch-pam-support.c 2011-03-01 20:08:50 UTC (rev 76598) +++ trunk/dports/security/checkpassword-pam/files/patch-pam-support.c 2011-03-01 20:23:24 UTC (rev 76599) @@ -1,9 +1,13 @@ --- pam-support.c.orig Wed Aug 11 17:34:14 2004 +++ pam-support.c Wed Aug 11 17:34:16 2004 -@@ -21,7 +21,11 @@ +@@ -21,7 +21,15 @@ #include "logging.h" ++#if defined(__APPLE__) ++#include <AvailabilityMacros.h> ++#endif ++ +#if defined(__APPLE__) && defined(MAC_OS_X_VERSION_MIN_REQUIRED) && (MAC_OS_X_VERSION_MIN_REQUIRED < 1060) +#include <pam/pam_appl.h> +#else