aboutsummaryrefslogtreecommitdiff
path: root/src/test_btree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test_btree.c')
-rw-r--r--src/test_btree.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test_btree.c b/src/test_btree.c
index dfe77051b..03b8b207c 100644
--- a/src/test_btree.c
+++ b/src/test_btree.c
@@ -14,7 +14,11 @@
** testing of the SQLite library.
*/
#include "btreeInt.h"
-#include <tcl.h>
+#if defined(INCLUDE_SQLITE_TCL_H)
+# include "sqlite_tcl.h"
+#else
+# include "tcl.h"
+#endif
/*
** Usage: sqlite3_shared_cache_report
@@ -22,7 +26,7 @@
** Return a list of file that are shared and the number of
** references to each file.
*/
-int sqlite3BtreeSharedCacheReport(
+int SQLITE_TCLAPI sqlite3BtreeSharedCacheReport(
void * clientData,
Tcl_Interp *interp,
int objc,