summaryrefslogtreecommitdiff
path: root/source3/include/smb_ldap.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-11-20 14:11:39 +0100
committerGary Lockyer <gary@samba.org>2018-11-28 23:19:23 +0100
commit99a9b092ca2da884cfeae92162f2aa5f72ec3fb8 (patch)
tree496f47357704e83c7e2ccfdd7fd5e6cf8139a018 /source3/include/smb_ldap.h
parentbe04480e0872a70c7ddca0eb14ba28b9bee98990 (diff)
downloadsamba-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/smb_ldap.h')
-rw-r--r--source3/include/smb_ldap.h4
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