summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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