summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-05-16 03:30:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:46 -0500
commitfc748e650fa2d6f9247f00105f709b403a7aa8a0 (patch)
tree501df29d12476150d339d069ca93313aafb974e8
parentd44193098720b0b81f7f7add884c9ece92bf32b1 (diff)
downloadsamba-fc748e650fa2d6f9247f00105f709b403a7aa8a0.tar.gz
samba-fc748e650fa2d6f9247f00105f709b403a7aa8a0.tar.bz2
samba-fc748e650fa2d6f9247f00105f709b403a7aa8a0.zip
r6811: Another attempt at better kerberos/gssapi headers.
Andrew Bartlett (This used to be commit f4b7484516b956baabb3eba3f233da29fc101100)
-rw-r--r--source4/include/system/kerberos.h12
1 files changed, 7 insertions, 5 deletions
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 <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>
@@ -39,6 +35,12 @@
#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