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
#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