summaryrefslogtreecommitdiff
path: root/src/libstrongswan/utils/fetcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/utils/fetcher.c')
-rw-r--r--src/libstrongswan/utils/fetcher.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstrongswan/utils/fetcher.c b/src/libstrongswan/utils/fetcher.c
index 6165cc1e1..7a06999aa 100644
--- a/src/libstrongswan/utils/fetcher.c
+++ b/src/libstrongswan/utils/fetcher.c
@@ -25,6 +25,9 @@
#endif /* LIBCURL */
#ifdef LIBLDAP
+#ifndef LDAP_DEPRECATED
+#define LDAP_DEPRECATED 1
+#endif
#include <ldap.h>
#endif /* LIBLDAP */