summaryrefslogtreecommitdiffstats
path: root/src/ccapi
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2007-06-14 22:40:51 +0000
committerAlexandra Ellwood <lxs@mit.edu>2007-06-14 22:40:51 +0000
commit470cfac1124beed421f32dec14f770b698dd4373 (patch)
tree5d7b57b57983b882a39374e9be404d66a61c54f5 /src/ccapi
parent2af1d88703f60d40fa0a5e7118b6e2f9fe17f931 (diff)
downloadkrb5-470cfac1124beed421f32dec14f770b698dd4373.tar.gz
krb5-470cfac1124beed421f32dec14f770b698dd4373.tar.xz
krb5-470cfac1124beed421f32dec14f770b698dd4373.zip
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
Diffstat (limited to 'src/ccapi')
-rw-r--r--src/ccapi/common/cci_common.h17
-rw-r--r--src/ccapi/server/ccs_common.h2
2 files changed, 10 insertions, 9 deletions
diff --git a/src/ccapi/common/cci_common.h b/src/ccapi/common/cci_common.h
index 09b4892cec..b961ffdb99 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 <CredentialsCache.h>
+
#include <sys/types.h>
+#include <stdarg.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <com_err.h>
#if TARGET_OS_MAC
-#include <stdint.h>
#include <unistd.h>
#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 <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <com_err.h>
-
-#include <CredentialsCache.h>
-
#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 2013c9e100..42a427c087 100644
--- a/src/ccapi/server/ccs_common.h
+++ b/src/ccapi/server/ccs_common.h
@@ -29,6 +29,8 @@
#include "cci_common.h"
+#include <time.h>
+
#include "ccs_array.h"
#include "ccs_list.h"
#include "ccs_cache_collection.h"