]> andersk Git - openssh.git/blobdiff - includes.h
- (djm) OSX/Darwin put the PAM headers in a different place, detect this.
[openssh.git] / includes.h
index 033cd91fae6df2708a54d312e9e8da52131a5583..ac9a950e07059eac0e902e8a05f7c648fcaca4f6 100644 (file)
@@ -147,7 +147,11 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
 # 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>
This page took 0.053832 seconds and 4 git commands to generate.