xref: /openbsd-src/gnu/usr.bin/cvs/lib/xgssapi.h (revision 43c1707e6f6829177cb1974ee6615ce6c1307689)
1*43c1707eStholo /* This program is free software; you can redistribute it and/or modify
2*43c1707eStholo    it under the terms of the GNU General Public License as published by
3*43c1707eStholo    the Free Software Foundation; either version 2, or (at your option)
4*43c1707eStholo    any later version.
5*43c1707eStholo 
6*43c1707eStholo    This program is distributed in the hope that it will be useful,
7*43c1707eStholo    but WITHOUT ANY WARRANTY; without even the implied warranty of
8*43c1707eStholo    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9*43c1707eStholo    GNU General Public License for more details.  */
10*43c1707eStholo 
11*43c1707eStholo /* This file performs the generic include magic necessary for using
12*43c1707eStholo  * cross platform gssapi which configure doesn't perform itself.
13*43c1707eStholo  */
14*43c1707eStholo 
15*43c1707eStholo /* Can't include both of these headers at the same time with Solaris 7 &
16*43c1707eStholo  * Heimdal Kerberos 0.3.  If some system ends up requiring both, a configure
17*43c1707eStholo  * test like TIME_AND_SYS_TIME will probably be necessary.
18*43c1707eStholo  */
19*43c1707eStholo #ifdef HAVE_GSSAPI_H
20*43c1707eStholo # include <gssapi.h>
21*43c1707eStholo #else
22*43c1707eStholo /* Assume existance of this header so that the user will get an informative
23*43c1707eStholo  * message if HAVE_GSSAPI somehow gets defined with both headers missing.
24*43c1707eStholo  */
25*43c1707eStholo # include <gssapi/gssapi.h>
26*43c1707eStholo #endif
27*43c1707eStholo #ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
28*43c1707eStholo /* MIT Kerberos 5 v1.2.1 */
29*43c1707eStholo # include <gssapi/gssapi_generic.h>
30*43c1707eStholo #endif
31