]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
OpenPAM uses const too.
authorTimo Sirainen <tss@iki.fi>
Sat, 8 Feb 2003 15:00:35 +0000 (17:00 +0200)
committerTimo Sirainen <tss@iki.fi>
Sat, 8 Feb 2003 15:00:35 +0000 (17:00 +0200)
--HG--
branch : HEAD

src/auth/passdb-pam.c

index 337036f2e4b99701e868670801a1fb1e2a87ff76..1bc841db35b96018ae8b3bf836e62d35949f33f6 100644 (file)
@@ -24,7 +24,7 @@
 #  include <pam/pam_appl.h>
 #endif
 
-#if !defined(_SECURITY_PAM_APPL_H) && !defined(LINUX_PAM)
+#if !defined(_SECURITY_PAM_APPL_H) && !defined(LINUX_PAM) && !defined(_OPENPAM)
 /* Sun's PAM doesn't use const. we use a bit dirty hack to check it.
    Originally it was just __sun__ check, but HP/UX also uses Sun's PAM
    so I thought this might work better. */