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