summaryrefslogtreecommitdiff
path: root/ext/ldap/php_ldap.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ldap/php_ldap.h')
-rw-r--r--ext/ldap/php_ldap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/ldap/php_ldap.h b/ext/ldap/php_ldap.h
index 3cf4592fe5..0f18e277e4 100644
--- a/ext/ldap/php_ldap.h
+++ b/ext/ldap/php_ldap.h
@@ -23,7 +23,9 @@
#ifndef PHP_LDAP_H
#define PHP_LDAP_H
+#ifndef HAVE_ORALDAP
#include <lber.h>
+#endif
#include <ldap.h>
extern zend_module_entry ldap_module_entry;