From 2f9d48a53f815a4e8e55f6eedba0b565341387ed Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Thu, 19 Dec 2013 16:28:12 +0100 Subject: [PATCH] Don't inlcude ldap.h when BUILD_LDAP is disabled --- coreapi/ldap/ldapprovider.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coreapi/ldap/ldapprovider.c b/coreapi/ldap/ldapprovider.c index 5b9ee97e6..e9e5901b0 100644 --- a/coreapi/ldap/ldapprovider.c +++ b/coreapi/ldap/ldapprovider.c @@ -21,10 +21,11 @@ #include "contact_providers_priv.h" #include +#ifdef BUILD_LDAP + #include #include -#ifdef BUILD_LDAP #define MAX_RUNNING_REQUESTS 10 #define FILTER_MAX_SIZE 512