summaryrefslogtreecommitdiffstats
path: root/src/ccapi
diff options
context:
space:
mode:
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"