summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache/ccapi
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2005-11-15 00:31:41 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2005-11-15 00:31:41 +0000
commita765e2551b7afdcc77eb8a798a73efd0eaebceae (patch)
tree16bc389997eeb8b6d8d3e3558362ae81616504e7 /src/lib/krb5/ccache/ccapi
parente9f59ca61ff224908576959a2cf394b63d05c462 (diff)
downloadkrb5-a765e2551b7afdcc77eb8a798a73efd0eaebceae.tar.gz
krb5-a765e2551b7afdcc77eb8a798a73efd0eaebceae.tar.xz
krb5-a765e2551b7afdcc77eb8a798a73efd0eaebceae.zip
This commit ensures that all files in the library include
k5-int.h before krb5.h is included either directly or indirectly. This is to allow Kerberos to use pre-processor symbols to choose configurations of C run time library headers without affecting third party applications. ticket: 3236 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17489 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/ccache/ccapi')
-rw-r--r--src/lib/krb5/ccache/ccapi/ChangeLog4
-rw-r--r--src/lib/krb5/ccache/ccapi/stdcc.c2
-rw-r--r--src/lib/krb5/ccache/ccapi/winccld.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/krb5/ccache/ccapi/ChangeLog b/src/lib/krb5/ccache/ccapi/ChangeLog
index 4c9777709..005a0430d 100644
--- a/src/lib/krb5/ccache/ccapi/ChangeLog
+++ b/src/lib/krb5/ccache/ccapi/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-14 Jeffrey Altman <jaltman@mit.edu>
+
+ * winccld.c, stdcc.c: include k5-int.h before stdcc.h
+
2004-11-15 Ken Raeburn <raeburn@mit.edu>
* stdcc.c (krb5_stdcc_get_flags): New function.
diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c
index 7e6ffe72c..885abf5bb 100644
--- a/src/lib/krb5/ccache/ccapi/stdcc.c
+++ b/src/lib/krb5/ccache/ccapi/stdcc.c
@@ -29,10 +29,10 @@
*/
#define NEED_WINDOWS
+#include "k5-int.h"
#include "stdcc.h"
#include "stdcc_util.h"
#include "string.h"
-#include "k5-int.h"
#include <stdio.h>
apiCB *gCntrlBlock = NULL;
diff --git a/src/lib/krb5/ccache/ccapi/winccld.c b/src/lib/krb5/ccache/ccapi/winccld.c
index 71c2c9412..ac3a8e478 100644
--- a/src/lib/krb5/ccache/ccapi/winccld.c
+++ b/src/lib/krb5/ccache/ccapi/winccld.c
@@ -6,8 +6,8 @@
#include <windows.h>
#include <stdio.h>
-#include "stdcc.h"
#include "k5-int.h"
+#include "stdcc.h"
/* from fcc-proto.h */
extern const krb5_cc_ops krb5_fcc_ops;