Windows: move afsconfig.h / param.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>
Wed, 12 May 2010 15:32:14 +0000 (08:32 -0700)
move the inclusion of afsconfig.h and param.h to
afscred.h so that they are included everywhere
and so that the conditional use of _USE_32BIT_TIME_T
is applied consistently by afscred.h.

LICENSE MIT

Change-Id: Id8c595509ec381ff6df6186e4d1c809413782a59
Reviewed-on: http://gerrit.openafs.org/1956
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>

src/WINNT/netidmgr_plugin/afscred.h
src/WINNT/netidmgr_plugin/afsfuncs.c

index cc2119f..c751fc2 100644 (file)
@@ -31,6 +31,9 @@
 #define _USE_32BIT_TIME_T 1
 #endif
 
+#include <afsconfig.h>
+#include <afs/param.h>
+
 #define _WINSOCKAPI_
 #include<windows.h>
 #include<time.h>
index 9dde7ba..93f8df3 100644 (file)
@@ -29,9 +29,6 @@
 #pragma warning (push)
 #pragma warning (disable: 4005)
 
-#include <afsconfig.h>
-#include <afs/param.h>
-
 #include<afscred.h>
 #include<dynimport.h>
 #include<krb5common.h>