--- 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 @@ -71,7 +71,15 @@ #include #include +#if defined(__APPLE__) +#include +#endif + +#if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED < 1060 +#include +#else #include +#endif #include "util.h"