From 86cb94c72347d7439980e69a69797d6f8a1688d6 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 23 Aug 2025 10:15:46 +0900 Subject: feat: use "make" as builder --- src/preprocess.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/preprocess.c') diff --git a/src/preprocess.c b/src/preprocess.c index b1810cd..75727d7 100644 --- a/src/preprocess.c +++ b/src/preprocess.c @@ -1535,8 +1535,8 @@ void pp_dump(Token* t, BOOL include_whitespace) { char* get_ducc_include_path() { const char* self_dir = get_self_dir(); - char* buf = calloc(strlen(self_dir) + strlen("/include") + 1, sizeof(char)); - sprintf(buf, "%s/include", self_dir); + char* buf = calloc(strlen(self_dir) + strlen("/../include") + 1, sizeof(char)); + sprintf(buf, "%s/../include", self_dir); return buf; } -- cgit v1.2.3-70-g09d2