aboutsummaryrefslogtreecommitdiff
path: root/ext/rbu/test_rbu.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rbu/test_rbu.c')
-rw-r--r--ext/rbu/test_rbu.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/ext/rbu/test_rbu.c b/ext/rbu/test_rbu.c
index 6418d30d5..671f16c55 100644
--- a/ext/rbu/test_rbu.c
+++ b/ext/rbu/test_rbu.c
@@ -17,7 +17,11 @@
#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_RBU)
#include "sqlite3rbu.h"
-#include <tcl.h>
+#if defined(INCLUDE_SQLITE_TCL_H)
+# include "sqlite_tcl.h"
+#else
+# include "tcl.h"
+#endif
#include <assert.h>
/* From main.c */
@@ -347,7 +351,11 @@ int SqliteRbu_Init(Tcl_Interp *interp){
}
#else
-#include <tcl.h>
+#if defined(INCLUDE_SQLITE_TCL_H)
+# include "sqlite_tcl.h"
+#else
+# include "tcl.h"
+#endif
int SqliteRbu_Init(Tcl_Interp *interp){ return TCL_OK; }
#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_RBU) */
#endif /* defined(SQLITE_TEST) */