diff options
author | Andreas Schneider <asn@samba.org> | 2018-11-20 14:11:39 +0100 |
---|---|---|
committer | Gary Lockyer <gary@samba.org> | 2018-11-28 23:19:23 +0100 |
commit | 99a9b092ca2da884cfeae92162f2aa5f72ec3fb8 (patch) | |
tree | 496f47357704e83c7e2ccfdd7fd5e6cf8139a018 /source3/include | |
parent | be04480e0872a70c7ddca0eb14ba28b9bee98990 (diff) | |
download | samba-99a9b092ca2da884cfeae92162f2aa5f72ec3fb8.tar.gz |
s3:ldap: Use #ifdef instead of #if for config.h definitions
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb_ldap.h | 4 |
1 files 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 <lber.h> #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 <ldap.h> #ifndef LDAP_CONST #define LDAP_CONST const |