From fc748e650fa2d6f9247f00105f709b403a7aa8a0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 16 May 2005 03:30:18 +0000 Subject: r6811: Another attempt at better kerberos/gssapi headers. Andrew Bartlett (This used to be commit f4b7484516b956baabb3eba3f233da29fc101100) --- source4/include/system/kerberos.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'source4/include/system/kerberos.h') diff --git a/source4/include/system/kerberos.h b/source4/include/system/kerberos.h index f0e93ccd3c..28ff260438 100644 --- a/source4/include/system/kerberos.h +++ b/source4/include/system/kerberos.h @@ -27,11 +27,7 @@ #undef HAVE_KRB5 #endif -#ifdef HAVE_GSSAPI_KRB5_H -#include -#elif defined(HAVE_GSSAPI_GSSAPI_KRB5_H) -#include -#elif defined(HAVE_GSSAPI_H) +#if defined(HAVE_GSSAPI_H) #include #elif defined(HAVE_GSSAPI_GSSAPI_H) #include @@ -39,6 +35,12 @@ #include #endif +#ifdef HAVE_GSSAPI_KRB5_H +#include +#elif defined(HAVE_GSSAPI_GSSAPI_KRB5_H) +#include +#endif + #ifdef HAVE_COM_ERR_H #include #endif -- cgit