re-order inclusions in spnego_mech.c to avoid breaking system headers
authorTom Yu <tlyu@mit.edu>
Thu, 29 Jun 2006 22:12:19 +0000 (22:12 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 29 Jun 2006 22:12:19 +0000 (22:12 +0000)
* src/lib/gssapi/spnego/spnego_mech.c: Move inclusion of
gssapiP_spnego.h to after mglueP.h.  mglueP.h includes
k5-thread.h, which pulls in the pthread headers, which on at least
some Tru64 versions is vulnerable to definitions of non-reserved
macro names such as CONTEXT, which is defined in
gssapiP_spnego.h.

ticket: new
tags: pullup
target_version: 1.5
version_reported: 1.5
component: krb5-build

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18273 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/spnego/spnego_mech.c

index 1fb31b55b00da8e1516b154926c95efc64013f60..0db0b5f92b372c8c1c2ef0c75240c66e42223691 100644 (file)
@@ -41,8 +41,8 @@
 #include       <string.h>
 #include       <k5-int.h>
 #include       <krb5.h>
-#include       "gssapiP_spnego.h"
 #include       <mglueP.h>
+#include       "gssapiP_spnego.h"
 #include       <gssapi_err_generic.h>
 
 #undef g_token_size