summaryrefslogtreecommitdiffstats
path: root/ldap/include
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/include')
-rw-r--r--ldap/include/ldaprot.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ldap/include/ldaprot.h b/ldap/include/ldaprot.h
index 81cb9e9d..aa7b5139 100644
--- a/ldap/include/ldaprot.h
+++ b/ldap/include/ldaprot.h
@@ -47,10 +47,18 @@
extern "C" {
#endif
+#ifndef LDAP_VERSION1
#define LDAP_VERSION1 1
+#endif
+#ifndef LDAP_VERSION2
#define LDAP_VERSION2 2
+#endif
+#ifndef LDAP_VERSION3
#define LDAP_VERSION3 3
+#endif
+#ifndef LDAP_VERSION
#define LDAP_VERSION LDAP_VERSION2
+#endif
#define COMPAT20
#define COMPAT30