Logo ROOT   6.10/09
Reference Guide
CintLDAP.h
Go to the documentation of this file.
1 // @(#)root/ldap:$Id$
2 // Author: Oleksandr Grebenyuk 21/09/2001
3 
4 /*************************************************************************
5  * For the licensing terms see $ROOTSYS/LICENSE. *
6  * For the list of contributors see $ROOTSYS/README/CREDITS. *
7  *************************************************************************/
8 
9 #ifndef ROOT_CintLDAP
10 #define ROOT_CintLDAP
11 
12 #ifdef __CLING__
13 
14 // Loaded inside Cling, we need to mitigate duplication
15 // ourselves.
16 
17 #include <ldap.h>
18 
19 #ifndef LBER_CLASS_UNIVERSAL
20 #include <lber.h> // needed for older versions of ldap.h
21 #endif
22 
23 #else
24 // Regular section, the user must make sure explicitly that the
25 // correct set of header is included (or not).
26 #include <lber.h> // needed for older versions of ldap.h
27 #include <ldap.h>
28 
29 #endif
30 
31 #endif // ROOT_CintLDAP