summaryrefslogtreecommitdiffstats
path: root/usr.bin/sudo/auth/pam.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2010-06-02 19:30:10 +0000
committermillert <millert@openbsd.org>2010-06-02 19:30:10 +0000
commitefa9ad63f293bd89a30acd5fd9872ea32a22376d (patch)
tree4c8a908f411e1c5bba2cfdf641685f7ceda3b4a5 /usr.bin/sudo/auth/pam.c
parentcheck event_dispatch() return value (diff)
downloadwireguard-openbsd-efa9ad63f293bd89a30acd5fd9872ea32a22376d.tar.xz
wireguard-openbsd-efa9ad63f293bd89a30acd5fd9872ea32a22376d.zip
Update to sudo 1.7.2p7
Diffstat (limited to 'usr.bin/sudo/auth/pam.c')
-rw-r--r--usr.bin/sudo/auth/pam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/sudo/auth/pam.c b/usr.bin/sudo/auth/pam.c
index f4269b841bf..f9fa26d3438 100644
--- a/usr.bin/sudo/auth/pam.c
+++ b/usr.bin/sudo/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