Skip to content

Commit 5874619

Browse files
fix: update SQLite header paths and add project root to include paths
Co-Authored-By: Matt Wong <[email protected]>
1 parent 8678f15 commit 5874619

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ ${BUILD_DIR}/objs/utils/index.o: ${BUILD_DIR}/objs/utils/%.o : utils/%.c utils/%
380380

381381
${BUILD_DIR}/objs/utils/%.o : utils/%.c ${INCLUDE_DIR}/zsv/utils/%.h ${JQ_LIB}
382382
@mkdir -p `dirname "$@"`
383-
${CC} ${CFLAGS} -I${INCLUDE_DIR} -I${UTF8PROC_INCLUDE} -DINCLUDE_SRC -o $@ -c utils/$*.c ${MORE_SOURCE}
383+
${CC} ${CFLAGS} -I${INCLUDE_DIR} -I${UTF8PROC_INCLUDE} -I${THIS_LIB_BASE} -DINCLUDE_SRC -o $@ -c utils/$*.c ${MORE_SOURCE}
384384

385385
${BUILD_DIR}/objs/utils/dirs-no-jq.o : utils/dirs.c ${INCLUDE_DIR}/zsv/utils/dirs.h
386386
@mkdir -p `dirname "$@"`

include/zsv/utils/sql_internal.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#include <stdlib.h>
55
#include <string.h>
6-
#include "external/sqlite3/sqlite3.h"
7-
#include "external/sqlite3/sqlite3_csv_vtab-mem.h"
6+
#include <app/external/sqlite3/sqlite3.h>
7+
#include <app/external/sqlite3/sqlite3_csv_vtab-mem.h>
88
#include <zsv/utils/prop.h>
99
#include <zsv/utils/string.h>
1010

0 commit comments

Comments
 (0)