aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/preprocess.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/preprocess.c')
-rw-r--r--src/preprocess.c4
1 files changed, 2 insertions, 2 deletions
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;
}