From: Jeffrey Altman Date: Wed, 12 May 2010 15:27:17 +0000 (-0400) Subject: Windows: move afsconfig.h / param.h to afscred.h X-Git-Tag: openafs-devel-1_5_75~285 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7730769ccfebd2a268503b6e618609722cc3b4a5;p=packages%2Fo%2Fopenafs.git Windows: move afsconfig.h / param.h to afscred.h 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 Tested-by: Jeffrey Altman --- diff --git a/src/WINNT/netidmgr_plugin/afscred.h b/src/WINNT/netidmgr_plugin/afscred.h index cc2119f80..c751fc2f8 100644 --- a/src/WINNT/netidmgr_plugin/afscred.h +++ b/src/WINNT/netidmgr_plugin/afscred.h @@ -31,6 +31,9 @@ #define _USE_32BIT_TIME_T 1 #endif +#include +#include + #define _WINSOCKAPI_ #include #include diff --git a/src/WINNT/netidmgr_plugin/afsfuncs.c b/src/WINNT/netidmgr_plugin/afsfuncs.c index 9dde7ba85..93f8df3a4 100644 --- a/src/WINNT/netidmgr_plugin/afsfuncs.c +++ b/src/WINNT/netidmgr_plugin/afsfuncs.c @@ -29,9 +29,6 @@ #pragma warning (push) #pragma warning (disable: 4005) -#include -#include - #include #include #include