summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index db7fd18b1..6459c6371 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -54,6 +54,10 @@
54/* Define if you want to allow MD5 passwords */ 54/* Define if you want to allow MD5 passwords */
55#undef HAVE_MD5_PASSWORDS 55#undef HAVE_MD5_PASSWORDS
56 56
57/* Define if you have an old version of PAM which takes only one argument */
58/* to pam_strerror */
59#undef HAVE_OLD_PAM
60
57/* Data types */ 61/* Data types */
58#undef HAVE_QUAD_T 62#undef HAVE_QUAD_T
59#undef HAVE_INTXX_T 63#undef HAVE_INTXX_T
@@ -195,3 +199,9 @@ enum
195 } while (0) 199 } while (0)
196 200
197#endif 201#endif
202
203#ifdef HAVE_OLD_PAM
204# define PAM_STRERROR(a,b) pam_strerror((b))
205#else
206# define PAM_STRERROR(a,b) pam_strerror((a),(b))
207#endif