mirror of
https://github.com/ceph/ceph
synced 2025-01-12 14:10:27 +00:00
Merge pull request #8500 from linuxbox2/ldap-include
rgw_ldap: make ldap.h inclusion conditional Reviewed-by: Dan Mick <dmick@redhat.com>
This commit is contained in:
commit
872ad16e4a
@ -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 <stdint.h>
|
||||
#include <tuple>
|
||||
|
Loading…
Reference in New Issue
Block a user