mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 10:50:28 +00:00
Fix SQLite include paths
This commit is contained in:
parent
1d2bc5c99e
commit
dd14ec87da
15 changed files with 17 additions and 17 deletions
6
third_party/sqlite3/main.c
vendored
6
third_party/sqlite3/main.c
vendored
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
2
third_party/sqlite3/os_common.h
vendored
2
third_party/sqlite3/os_common.h
vendored
|
@ -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;
|
||||
|
|
2
third_party/sqlite3/pragma.c
vendored
2
third_party/sqlite3/pragma.c
vendored
|
@ -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,
|
||||
|
|
2
third_party/sqlite3/sqlite3rtree.h
vendored
2
third_party/sqlite3/sqlite3rtree.h
vendored
|
@ -14,7 +14,7 @@
|
|||
#ifndef _SQLITE3RTREE_H_
|
||||
#define _SQLITE3RTREE_H_
|
||||
|
||||
#include <sqlite3.h>
|
||||
#include "third_party/sqlite3/sqlite3.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
3
third_party/sqlite3/tokenize.c
vendored
3
third_party/sqlite3/tokenize.c
vendored
|
@ -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
|
||||
|
|
2
third_party/sqlite3/vdbe.c
vendored
2
third_party/sqlite3/vdbe.c
vendored
|
@ -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
|
||||
|
||||
|
|
2
third_party/sqlite3/vdbeblob.c
vendored
2
third_party/sqlite3/vdbeblob.c
vendored
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
|
||||
#ifndef SQLITE_OMIT_INCRBLOB
|
||||
|
||||
|
|
2
third_party/sqlite3/vdbemem.c
vendored
2
third_party/sqlite3/vdbemem.c
vendored
|
@ -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.
|
||||
|
|
2
third_party/sqlite3/vdbesort.c
vendored
2
third_party/sqlite3/vdbesort.c
vendored
|
@ -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
|
||||
|
|
2
third_party/sqlite3/vdbetrace.c
vendored
2
third_party/sqlite3/vdbetrace.c
vendored
|
@ -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
|
||||
|
||||
|
|
2
third_party/sqlite3/vdbevtab.c
vendored
2
third_party/sqlite3/vdbevtab.c
vendored
|
@ -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.
|
||||
*/
|
||||
|
|
2
third_party/sqlite3/where.c
vendored
2
third_party/sqlite3/where.c
vendored
|
@ -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
|
||||
|
|
2
third_party/sqlite3/wherecode.c
vendored
2
third_party/sqlite3/wherecode.c
vendored
|
@ -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
|
||||
|
||||
|
|
2
third_party/sqlite3/whereexpr.c
vendored
2
third_party/sqlite3/whereexpr.c
vendored
|
@ -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);
|
||||
|
|
1
third_party/sqlite3/zipfile.c
vendored
1
third_party/sqlite3/zipfile.c
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue