summaryrefslogtreecommitdiffstats
path: root/src/ccapi/test/test_ccapi_globals.h
diff options
context:
space:
mode:
authorJustin Anderson <jander@mit.edu>2007-09-25 21:34:10 +0000
committerJustin Anderson <jander@mit.edu>2007-09-25 21:34:10 +0000
commit403149c8eee2e85c168c365528d9a6443a237fba (patch)
treeeb0b7d9f1175b799245a3b09e04c6359d771a773 /src/ccapi/test/test_ccapi_globals.h
parent0c9671a9f8dc5d0efb2638952089fb2b6b78838a (diff)
downloadkrb5-403149c8eee2e85c168c365528d9a6443a237fba.tar.gz
krb5-403149c8eee2e85c168c365528d9a6443a237fba.tar.xz
krb5-403149c8eee2e85c168c365528d9a6443a237fba.zip
Update ccapi tests to work at new location in krb5 tree. Also, test for platform when compiling so that KfM and KfW can use this
ticket: 5459 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19979 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/test/test_ccapi_globals.h')
-rw-r--r--src/ccapi/test/test_ccapi_globals.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ccapi/test/test_ccapi_globals.h b/src/ccapi/test/test_ccapi_globals.h
index eba364a99..a5c165df2 100644
--- a/src/ccapi/test/test_ccapi_globals.h
+++ b/src/ccapi/test/test_ccapi_globals.h
@@ -1,7 +1,13 @@
#ifndef _TEST_CCAPI_GLOBALS_H_
#define _TEST_CCAPI_GLOBALS_H_
-#include "CredentialsCache.h"
+#include <krb5.h> // gets us TARGET_OS_MAC
+
+#ifdef TARGET_OS_MAC
+#include <Kerberos/CredentialsCache.h>
+#else
+#include <CredentialsCache.h>
+#endif
/* GLOBALS */
extern unsigned int total_failure_count;