From: Andreas Schneider Date: Tue, 20 Nov 2018 13:11:39 +0000 (+0100) Subject: s3:ldap: Use #ifdef instead of #if for config.h definitions X-Git-Tag: tdb-1.3.17~558 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99a9b092ca2da884cfeae92162f2aa5f72ec3fb8;p=thirdparty%2Fsamba.git s3:ldap: Use #ifdef instead of #if for config.h definitions Signed-off-by: Andreas Schneider Reviewed-by: Gary Lockyer --- 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