summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>2013-12-30 15:05:49 +0000
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>2013-12-30 15:05:49 +0000
commitf9fe2bba381311657ed93469ff05ee40e80bbfc2 (patch)
tree261e257a03a738134662950593fe6d91865bf1af
parenta2ca57fe96acd9e74a4ecd2621d9320deb68c834 (diff)
downloadlibpam-radius-auth-f9fe2bba381311657ed93469ff05ee40e80bbfc2.tar.gz
libpam-radius-auth-f9fe2bba381311657ed93469ff05ee40e80bbfc2.zip
Required for building on OSX
-rw-r--r--pam_radius_auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pam_radius_auth.c b/pam_radius_auth.c
index 11bec48..008dc69 100644
--- a/pam_radius_auth.c
+++ b/pam_radius_auth.c
@@ -56,8 +56,9 @@
#include <limits.h>
#include <errno.h>
+#include <sys/time.h>
-#ifdef sun
+#if defined(sun) || defined(__APPLE__)
#include <security/pam_appl.h>
#endif
#include <security/pam_modules.h>