Windows: netidmgr_plugin move roken.h to afscred.h

Due to historical issues with the MIT KFW headers
the netidmgr plugin must define _USE_32BIT_TIME_T
which alters the size of time_t in all C RTL data
structures that include it.   roken.h must be included
after this definition in order for it to do the right
thing in conjunction with the MIT KFW headers.  This
means that an exception to the rule that roken.h must
be one of the first three files included in every
source file in the tree must exist for this directory.
In the netidmgr_plugin directory, afscred.h includes
roken.h and afscred.h is the first header included
in all other files.

Change-Id: I11214e5eaac0144aaf04c3a21bb92d521d75c6e1
Reviewed-on: http://gerrit.openafs.org/3616
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Jeffrey Altman 2010-05-12 11:27:17 -04:00 committed by Jeffrey Altman
parent 605b7c3baa
commit 3ab948769c
9 changed files with 1 additions and 35 deletions

View File

@ -24,10 +24,6 @@
/* $Id$ */
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#include<afscred.h>
#include<kherror.h>
#include<khuidefs.h>

View File

@ -33,6 +33,7 @@
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#define _WINSOCKAPI_
#include<windows.h>

View File

@ -24,10 +24,6 @@
/* $Id$ */
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#include<afscred.h>
#include<assert.h>
#include<wchar.h>

View File

@ -29,11 +29,6 @@
#pragma warning (push)
#pragma warning (disable: 4005)
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#include<afscred.h>
#include<dynimport.h>
#include<krb5common.h>

View File

@ -26,11 +26,6 @@
#define NOSTRSAFE
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#include<afscred.h>
#include<shlwapi.h>
#include<htmlhelp.h>

View File

@ -1,8 +1,4 @@
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#define NOSTRSAFE
#include "afscred.h"
#include "AFS_component_version_number.h"

View File

@ -24,10 +24,6 @@
/* $Id$ */
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#include<afscred.h>
#include<commctrl.h>
#include<assert.h>

View File

@ -24,10 +24,6 @@
/* $Id$ */
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#include<afscred.h>
#include<kcreddb.h>
#include<khmsgtypes.h>

View File

@ -29,11 +29,6 @@
#pragma warning (push)
#pragma warning (disable: 4005)
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#include<afscred.h>
#include<kmm.h>
#include<dynimport.h>