pull up r18273 from trunk
authorTom Yu <tlyu@mit.edu>
Thu, 29 Jun 2006 22:35:21 +0000 (22:35 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 29 Jun 2006 22:35:21 +0000 (22:35 +0000)
 r18273@cathode-dark-space:  tlyu | 2006-06-29 18:12:19 -0400
 ticket: new
 tags: pullup
 target_version: 1.5
 version_reported: 1.5
 subject: re-order inclusions in spnego_mech.c to avoid breaking system headers
 component: krb5-build

  * 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: 3959
version_fixed: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-5@18274 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/spnego/spnego_mech.c

index c5a15d5d4ca3008f0bd777d719c20521752a8079..19a2a8b4a5feb005203df24dd95c864bcb2a4d05 100644 (file)
@@ -40,8 +40,8 @@
 #include       <stdlib.h>
 #include       <string.h>
 #include       <krb5.h>
-#include       "gssapiP_spnego.h"
 #include       <mglueP.h>
+#include       "gssapiP_spnego.h"
 #include       <gssapi_err_generic.h>
 
 #undef g_token_size