Windows: netidmgr_plugin move roken.h to afscred.h
authorJeffrey Altman <jaltman@your-file-system.com>
Wed, 12 May 2010 15:27:17 +0000 (11:27 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Tue, 4 Jan 2011 16:41:16 +0000 (08:41 -0800)
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>

src/WINNT/netidmgr_plugin/afsconfigdlg.c
src/WINNT/netidmgr_plugin/afscred.h
src/WINNT/netidmgr_plugin/afsext.c
src/WINNT/netidmgr_plugin/afsfuncs.c
src/WINNT/netidmgr_plugin/afshelp.c
src/WINNT/netidmgr_plugin/afsicon.c
src/WINNT/netidmgr_plugin/afsnewcreds.c
src/WINNT/netidmgr_plugin/afsplugin.c
src/WINNT/netidmgr_plugin/main.c

index 93f4c2f..bcc82c1 100644 (file)
 
 /* $Id$ */
 
-#include <afsconfig.h>
-#include <afs/param.h>
-#include <roken.h>
-
 #include<afscred.h>
 #include<kherror.h>
 #include<khuidefs.h>
index caf036e..f4d75f1 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <afsconfig.h>
 #include <afs/param.h>
+#include <roken.h>
 
 #define _WINSOCKAPI_
 #include<windows.h>
index d9a41d3..2e07c31 100644 (file)
 
 /* $Id$ */
 
-#include <afsconfig.h>
-#include <afs/param.h>
-#include <roken.h>
-
 #include<afscred.h>
 #include<assert.h>
 #include<wchar.h>
index 1b4e6d9..93f8df3 100644 (file)
 #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>
index 316ea48..30a7cc6 100644 (file)
 
 #define NOSTRSAFE
 
-
-#include <afsconfig.h>
-#include <afs/param.h>
-#include <roken.h>
-
 #include<afscred.h>
 #include<shlwapi.h>
 #include<htmlhelp.h>
index bb0e182..54cb6dd 100644 (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"
index 01dc909..e079550 100644 (file)
 
 /* $Id$ */
 
-#include <afsconfig.h>
-#include <afs/param.h>
-#include <roken.h>
-
 #include<afscred.h>
 #include<commctrl.h>
 #include<assert.h>
index 8a697b3..89cb2b4 100644 (file)
 
 /* $Id$ */
 
-#include <afsconfig.h>
-#include <afs/param.h>
-#include <roken.h>
-
 #include<afscred.h>
 #include<kcreddb.h>
 #include<khmsgtypes.h>
index 2cd96f0..9164590 100644 (file)
 #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>