diff options
Diffstat (limited to 'auth/pam.c')
-rw-r--r-- | auth/pam.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/pam.c b/auth/pam.c index f4269b841..f9fa26d34 100644 --- a/auth/pam.c +++ b/auth/pam.c @@ -66,7 +66,8 @@ #include "sudo_auth.h" /* Only OpenPAM and Linux PAM use const qualifiers. */ -#if defined(_OPENPAM) || defined(__LIBPAM_VERSION) || defined(__LINUX_PAM__) +#if defined(_OPENPAM) || defined(OPENPAM_VERSION) || \ + defined(__LIBPAM_VERSION) || defined(__LINUX_PAM__) # define PAM_CONST const #else # define PAM_CONST |