Index: lib/sqlite/sqlite3.c
--- lib/sqlite/sqlite3.c.orig	2010-09-13 09:23:34.000000000 +0200
+++ lib/sqlite/sqlite3.c	2010-09-14 10:16:57.000000000 +0200
@@ -353,7 +353,7 @@
 #if defined(THREADSAFE)
 # define SQLITE_THREADSAFE THREADSAFE
 #else
-# define SQLITE_THREADSAFE 1
+# define SQLITE_THREADSAFE 0
 #endif
 #endif
 
