Fix SQLite include paths

This commit is contained in:
Paul Kulchenko 2022-11-22 21:08:59 -08:00
parent 1d2bc5c99e
commit dd14ec87da
15 changed files with 17 additions and 17 deletions

View file

@ -17,13 +17,13 @@
#include "third_party/sqlite3/sqliteInt.h"
#ifdef SQLITE_ENABLE_FTS3
# include "fts3.h"
# include "third_party/sqlite3/fts3.h"
#endif
#ifdef SQLITE_ENABLE_RTREE
# include "rtree.h"
# include "third_party/sqlite3/rtree.h"
#endif
#if defined(SQLITE_ENABLE_ICU) || defined(SQLITE_ENABLE_ICU_COLLATIONS)
# include "sqliteicu.h"
# include "third_party/sqlite3/sqliteicu.h"
#endif
/*

View file

@ -39,7 +39,7 @@
** hwtime.h contains inline assembler code for implementing
** high-performance timing routines.
*/
#include "hwtime.h"
#include "third_party/sqlite3/hwtime.h"
static sqlite_uint64 g_start;
static sqlite_uint64 g_elapsed;

View file

@ -28,7 +28,7 @@
** lexicographical order to facility a binary search of the pragma name.
** Do not edit pragma.h directly. Edit and rerun the script in at
** ../tool/mkpragmatab.tcl. */
#include "pragma.h"
#include "third_party/sqlite3/pragma.h"
/*
** Interpret the given string as a safety level. Return 0 for OFF,

View file

@ -14,7 +14,7 @@
#ifndef _SQLITE3RTREE_H_
#define _SQLITE3RTREE_H_
#include <sqlite3.h>
#include "third_party/sqlite3/sqlite3.h"
#ifdef __cplusplus
extern "C" {

View file

@ -145,8 +145,7 @@ const unsigned char ebcdicToAscii[] = {
** named keywordhash.h and then included into this source file by
** the #include below.
*/
#include "keywordhash.h"
#include "third_party/sqlite3/keywordhash.h"
/*
** If X is a character that can be used in an identifier then

View file

@ -624,7 +624,7 @@ void sqlite3VdbeRegisterDump(Vdbe *v){
** hwtime.h contains inline assembler code for implementing
** high-performance timing routines.
*/
#include "hwtime.h"
#include "third_party/sqlite3/hwtime.h"
#endif

View file

@ -14,7 +14,7 @@
*/
#include "third_party/sqlite3/sqliteInt.h"
#include "vdbeInt.h"
#include "third_party/sqlite3/vdbeInt.h"
#ifndef SQLITE_OMIT_INCRBLOB

View file

@ -16,7 +16,7 @@
** name sqlite_value
*/
#include "third_party/sqlite3/sqliteInt.h"
#include "vdbeInt.h"
#include "third_party/sqlite3/vdbeInt.h"
/* True if X is a power of two. 0 is considered a power of two here.
** In other words, return true if X has at most one bit set.

View file

@ -136,7 +136,7 @@
** the main thread to read from.
*/
#include "third_party/sqlite3/sqliteInt.h"
#include "vdbeInt.h"
#include "third_party/sqlite3/vdbeInt.h"
/*
** If SQLITE_DEBUG_SORTER_THREADS is defined, this module outputs various

View file

@ -16,7 +16,7 @@
** The Vdbe parse-tree explainer is also found here.
*/
#include "third_party/sqlite3/sqliteInt.h"
#include "vdbeInt.h"
#include "third_party/sqlite3/vdbeInt.h"
#ifndef SQLITE_OMIT_TRACE

View file

@ -15,7 +15,7 @@
*/
#include "third_party/sqlite3/sqliteInt.h"
#if defined(SQLITE_ENABLE_BYTECODE_VTAB) && !defined(SQLITE_OMIT_VIRTUALTABLE)
#include "vdbeInt.h"
#include "third_party/sqlite3/vdbeInt.h"
/* An instance of the bytecode() table-valued function.
*/

View file

@ -17,7 +17,7 @@
** indices, you might also think of this module as the "query optimizer".
*/
#include "third_party/sqlite3/sqliteInt.h"
#include "whereInt.h"
#include "third_party/sqlite3/whereInt.h"
/*
** Extra information appended to the end of sqlite3_index_info but not

View file

@ -18,7 +18,7 @@
** file retains the code that does query planning and analysis.
*/
#include "third_party/sqlite3/sqliteInt.h"
#include "whereInt.h"
#include "third_party/sqlite3/whereInt.h"
#ifndef SQLITE_OMIT_EXPLAIN

View file

@ -17,7 +17,7 @@
** analyzing Expr objects in the WHERE clause.
*/
#include "third_party/sqlite3/sqliteInt.h"
#include "whereInt.h"
#include "third_party/sqlite3/whereInt.h"
/* Forward declarations */
static void exprAnalyze(SrcList*, WhereClause*, int);

View file

@ -29,6 +29,7 @@
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "libc/sysv/consts/s.h"
#include "third_party/sqlite3/sqlite3.h"
#include "third_party/sqlite3/sqlite3ext.h"
#include "third_party/zlib/zlib.h"
// clang-format off