- (djm) OSX/Darwin put the PAM headers in a different place, detect this.
   Report from jakob@
diff --git a/includes.h b/includes.h
index 033cd91..ac9a950 100644
--- a/includes.h
+++ b/includes.h
@@ -147,7 +147,11 @@
 # include <rpc/types.h> /* For INADDR_LOOPBACK */
 #endif
 #ifdef USE_PAM
+#if defined(HAVE_SECURITY_PAM_APPL_H)
 # include <security/pam_appl.h>
+#elif defined (HAVE_PAM_PAM_APPL_H)
+# include <pam/pam_appl.h>
+#endif
 #endif
 #ifdef HAVE_READPASSPHRASE_H
 # include <readpassphrase.h>