Skip to content

Commit

Permalink
Merge pull request ceph#8500 from linuxbox2/ldap-include
Browse files Browse the repository at this point in the history
rgw_ldap: make ldap.h inclusion conditional

Reviewed-by: Dan Mick <[email protected]>
  • Loading branch information
dmick committed Apr 8, 2016
2 parents 9821b29 + 15cabdc commit 872ad16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rgw/rgw_ldap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 872ad16

Please sign in to comment.