Index: third_party/sqlite/src/src/test_tclvar.c |
diff --git a/third_party/sqlite/src/src/test_tclvar.c b/third_party/sqlite/src/src/test_tclvar.c |
index 63ed394734260fa30bdc6b59987d973d466848c0..8f7352112dd82caac71db832edac38cf03d6be9a 100644 |
--- a/third_party/sqlite/src/src/test_tclvar.c |
+++ b/third_party/sqlite/src/src/test_tclvar.c |
@@ -17,7 +17,11 @@ |
** access to TCL variables. |
*/ |
#include "sqliteInt.h" |
-#include "tcl.h" |
+#if defined(INCLUDE_SQLITE_TCL_H) |
+# include "sqlite_tcl.h" |
+#else |
+# include "tcl.h" |
+#endif |
#include <stdlib.h> |
#include <string.h> |
@@ -407,7 +411,7 @@ extern int getDbPointer(Tcl_Interp *interp, const char *zA, sqlite3 **ppDb); |
/* |
** Register the echo virtual table module. |
*/ |
-static int register_tclvar_module( |
+static int SQLITE_TCLAPI register_tclvar_module( |
ClientData clientData, /* Pointer to sqlite3_enable_XXX function */ |
Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ |
int objc, /* Number of arguments */ |