From: Matt Benjamin Date: Thu, 7 Apr 2016 23:39:40 +0000 (-0400) Subject: rgw_ldap: make ldap.h inclusion conditional X-Git-Tag: v10.1.2~28^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8500%2Fhead;p=ceph.git rgw_ldap: make ldap.h inclusion conditional The feature implementation is conditional, embarassingly, the header inclusion is not. Signed-off-by: Matt Benjamin --- diff --git a/src/rgw/rgw_ldap.h b/src/rgw/rgw_ldap.h index 46b05fff658b..02eb61e1f4b0 100644 --- a/src/rgw/rgw_ldap.h +++ b/src/rgw/rgw_ldap.h @@ -4,8 +4,10 @@ #ifndef RGW_LDAP_H #define RGW_LDAP_H +#if defined(HAVE_OPENLDAP) #define LDAP_DEPRECATED 1 #include "ldap.h" +#endif #include #include