From 99a9b092ca2da884cfeae92162f2aa5f72ec3fb8 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 20 Nov 2018 14:11:39 +0100 Subject: [PATCH] s3:ldap: Use #ifdef instead of #if for config.h definitions Signed-off-by: Andreas Schneider Reviewed-by: Gary Lockyer --- source3/include/smb_ldap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/include/smb_ldap.h b/source3/include/smb_ldap.h index 19e4be5a316..57866382884 100644 --- a/source3/include/smb_ldap.h +++ b/source3/include/smb_ldap.h @@ -23,7 +23,7 @@ #ifndef _SMB_LDAP_H #define _SMB_LDAP_H -#if HAVE_LBER_H +#ifdef HAVE_LBER_H #include #if defined(HPUX) && !defined(_LBER_TYPES_H) /* Define ber_tag_t and ber_int_t for using @@ -39,7 +39,7 @@ typedef int ber_int_t; #endif #endif /* HAVE_LBER_H */ -#if HAVE_LDAP_H +#ifdef HAVE_LDAP_H #include #ifndef LDAP_CONST #define LDAP_CONST const -- 2.47.2