Don't inlcude ldap.h when BUILD_LDAP is disabled

This commit is contained in:
Guillaume BIENKOWSKI 2013-12-19 16:28:12 +01:00
parent e028749f11
commit 2f9d48a53f

View file

@ -21,10 +21,11 @@
#include "contact_providers_priv.h"
#include <belle-sip/dict.h>
#ifdef BUILD_LDAP
#include <ldap.h>
#include <sasl/sasl.h>
#ifdef BUILD_LDAP
#define MAX_RUNNING_REQUESTS 10
#define FILTER_MAX_SIZE 512