r6811: Another attempt at better kerberos/gssapi headers.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 16 May 2005 03:30:18 +0000 (03:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:16:46 +0000 (13:16 -0500)
Andrew Bartlett
(This used to be commit f4b7484516b956baabb3eba3f233da29fc101100)

source4/include/system/kerberos.h

index f0e93ccd3c91755c9d9c03619479e2eda846e095..28ff260438b6edaf40386a7e5f4250ffe2cae4c1 100644 (file)
 #undef HAVE_KRB5
 #endif
 
-#ifdef HAVE_GSSAPI_KRB5_H
-#include <gssapi_krb5.h>
-#elif defined(HAVE_GSSAPI_GSSAPI_KRB5_H)
-#include <gssapi/gssapi_krb5.h>
-#elif defined(HAVE_GSSAPI_H)
+#if defined(HAVE_GSSAPI_H)
 #include <gssapi.h>
 #elif defined(HAVE_GSSAPI_GSSAPI_H)
 #include <gssapi/gssapi.h>
 #include <gssapi/gssapi_generic.h>
 #endif
 
+#ifdef HAVE_GSSAPI_KRB5_H
+#include <gssapi_krb5.h>
+#elif defined(HAVE_GSSAPI_GSSAPI_KRB5_H)
+#include <gssapi/gssapi_krb5.h>
+#endif
+
 #ifdef HAVE_COM_ERR_H
 #include <com_err.h>
 #endif