$OpenBSD: patch-src_sqlite_h_in,v 1.3 2009/04/16 20:09:58 martynas Exp $
--- src/sqlite.h.in.orig	Mon Mar 30 19:37:16 2009
+++ src/sqlite.h.in	Sun Apr  5 11:14:53 2009
@@ -35,6 +35,7 @@
 #ifndef _SQLITE3_H_
 #define _SQLITE3_H_
 #include <stdarg.h>     /* Needed for the definition of va_list */
+#include <stdint.h>
 
 /*
 ** Make sure we can call this stuff from C++.
@@ -186,6 +187,9 @@ typedef struct sqlite3 sqlite3;
 **
 ** Requirements: [H10201] [H10202]
 */
+typedef int64_t sqlite_int64;
+typedef uint64_t sqlite_uint64;
+#if 0
 #ifdef SQLITE_INT64_TYPE
   typedef SQLITE_INT64_TYPE sqlite_int64;
   typedef unsigned SQLITE_INT64_TYPE sqlite_uint64;
@@ -195,6 +199,7 @@ typedef struct sqlite3 sqlite3;
 #else
   typedef long long int sqlite_int64;
   typedef unsigned long long int sqlite_uint64;
+#endif
 #endif
 typedef sqlite_int64 sqlite3_int64;
 typedef sqlite_uint64 sqlite3_uint64;
