summaryrefslogtreecommitdiff
path: root/src/mod_vhostdb_ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_vhostdb_ldap.c')
-rw-r--r--src/mod_vhostdb_ldap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_vhostdb_ldap.c b/src/mod_vhostdb_ldap.c
index 98f7c072..4f506aa9 100644
--- a/src/mod_vhostdb_ldap.c
+++ b/src/mod_vhostdb_ldap.c
@@ -1,5 +1,7 @@
#include "first.h"
+/* Using deprecated ldap api */
+#define LDAP_DEPRECATED 1
#include <ldap.h>
#include <errno.h>