Skip to content

Commit

Permalink
fix: add ctype.h and fix sql_internal.c include path
Browse files Browse the repository at this point in the history
Co-Authored-By: Matt Wong <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and liquidaty committed Dec 20, 2024
1 parent 123c9cc commit 242ccf2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/utils/sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <ctype.h>
#include "sqlite3.h"
#include "sqlite3_csv_vtab-mem.h"

Expand Down Expand Up @@ -169,7 +170,7 @@ static char is_select_sql(const char *s) {
return found_from; // Must have FROM clause
}

#include "sql_internal.c"
#include "../../app/sql_internal.c"

int ZSV_MAIN_FUNC(ZSV_COMMAND)(int argc, const char *argv[], struct zsv_opts *opts,
struct zsv_prop_handler *custom_prop_handler) {
Expand Down

0 comments on commit 242ccf2

Please sign in to comment.