aboutsummaryrefslogtreecommitdiff
path: root/src/ccapi/common/cci_common.h
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/common/cci_common.h
parent2af1d88703f60d40fa0a5e7118b6e2f9fe17f931 (diff)
downloadkrb5-470cfac1124beed421f32dec14f770b698dd4373.zip
krb5-470cfac1124beed421f32dec14f770b698dd4373.tar.gz
krb5-470cfac1124beed421f32dec14f770b698dd4373.tar.bz2
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/common/cci_common.h')
-rw-r--r--src/ccapi/common/cci_common.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/ccapi/common/cci_common.h b/src/ccapi/common/cci_common.h
index 09b4892..b961ffd 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"