libreplace: Add support for pthread_mutexattr_setrobust
[Samba.git] / lib / replace / system / gssapi.h
blob6386c7b21a3ec73e4645177c2014ae6461a7e6bb
1 #ifndef _system_gssapi_h
2 #define _system_gssapi_h
4 /*
5 Unix SMB/CIFS implementation.
7 GSSAPI system include wrappers
9 Copyright (C) Andrew Tridgell 2004
11 ** NOTE! The following LGPL license applies to the replace
12 ** library. This does NOT imply that all of Samba is released
13 ** under the LGPL
15 This library is free software; you can redistribute it and/or
16 modify it under the terms of the GNU Lesser General Public
17 License as published by the Free Software Foundation; either
18 version 3 of the License, or (at your option) any later version.
20 This library is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 Lesser General Public License for more details.
25 You should have received a copy of the GNU Lesser General Public
26 License along with this library; if not, see <http://www.gnu.org/licenses/>.
30 #ifdef HAVE_GSSAPI
32 #ifdef HAVE_GSSAPI_GSSAPI_EXT_H
33 #include <gssapi/gssapi_ext.h>
34 #elif HAVE_GSSAPI_GSSAPI_H
35 #include <gssapi/gssapi.h>
36 #elif HAVE_GSSAPI_GSSAPI_GENERIC_H
37 #include <gssapi/gssapi_generic.h>
38 #elif HAVE_GSSAPI_H
39 #include <gssapi.h>
40 #endif
42 #if HAVE_GSSAPI_GSSAPI_KRB5_H
43 #include <gssapi/gssapi_krb5.h>
44 #endif
46 #if HAVE_GSSAPI_GSSAPI_SPNEGO_H
47 #include <gssapi/gssapi_spnego.h>
48 #elif HAVE_GSSAPI_SPNEGO_H
49 #include <gssapi_spnego.h>
50 #endif
52 #endif
53 #endif