From 470cfac1124beed421f32dec14f770b698dd4373 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Thu, 14 Jun 2007 22:40:51 +0000 Subject: [PATCH] don't include time.h in CredentialsCache.h if it's not needed ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19576 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ccapi/common/cci_common.h | 17 ++++++++--------- src/ccapi/server/ccs_common.h | 2 ++ src/include/CredentialsCache.h | 4 +--- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/ccapi/common/cci_common.h b/src/ccapi/common/cci_common.h index 09b4892ce..b961ffdb9 100644 --- a/src/ccapi/common/cci_common.h +++ b/src/ccapi/common/cci_common.h @@ -27,26 +27,25 @@ #ifndef CCI_COMMON_H #define CCI_COMMON_H +#include + #include +#include +#include +#include +#include +#include #if TARGET_OS_MAC -#include #include #define VECTOR_FUNCTIONS_INITIALIZER ,NULL #else #include "win-mac.h" #define VECTOR_FUNCTIONS_INITIALIZER +/* hide "#pragma mark" warnings on Windows */ #pragma warning (disable: 4068) #endif -#include -#include -#include -#include -#include - -#include - #define k_cci_context_initial_ccache_name "Initial default ccache" #include "cci_cred_union.h" diff --git a/src/ccapi/server/ccs_common.h b/src/ccapi/server/ccs_common.h index 2013c9e10..42a427c08 100644 --- a/src/ccapi/server/ccs_common.h +++ b/src/ccapi/server/ccs_common.h @@ -29,6 +29,8 @@ #include "cci_common.h" +#include + #include "ccs_array.h" #include "ccs_list.h" #include "ccs_cache_collection.h" diff --git a/src/include/CredentialsCache.h b/src/include/CredentialsCache.h index c2e472038..43705e571 100644 --- a/src/include/CredentialsCache.h +++ b/src/include/CredentialsCache.h @@ -34,7 +34,7 @@ #if defined(_WIN32) #include #else -#include +#include #endif #ifdef __cplusplus @@ -58,8 +58,6 @@ extern "C" { #define CCACHE_API #endif -#include - /* * Constants */ -- 2.26.2