Index: third_party/sqlite/src/src/test_btree.c |
diff --git a/third_party/sqlite/src/src/test_btree.c b/third_party/sqlite/src/src/test_btree.c |
index dfe77051b6bbee0d1db796a10427f969b4957b67..03b8b207c9834268bf685662f4857f3a04eb5960 100644 |
--- a/third_party/sqlite/src/src/test_btree.c |
+++ b/third_party/sqlite/src/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, |