summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/pampass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 83a3f81db0..b1c3bb678b 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -479,7 +479,7 @@ static bool smb_pam_end(pam_handle_t *pamh, struct pam_conv *smb_pam_conv_ptr)
static bool smb_pam_start(pam_handle_t **pamh, const char *user, const char *rhost, struct pam_conv *pconv)
{
int pam_error;
-#ifdef PAM_RHOST
+#if HAVE_PAM_RHOST
const char *our_rhost;
char addr[INET6_ADDRSTRLEN];
#endif