aboutsummaryrefslogtreecommitdiffhomepage
path: root/preprocess.c
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-02 03:29:31 +0900
committernsfisis <nsfisis@gmail.com>2025-08-15 10:06:21 +0900
commiteb2700aea276018b754afa24199e5ede80cdb5bb (patch)
treeaab6a56d65801e587183e3b4acbb136d880ce118 /preprocess.c
parent386fef59fafbd1fd05e6907f100ba99cedf88822 (diff)
downloadducc-eb2700aea276018b754afa24199e5ede80cdb5bb.tar.gz
ducc-eb2700aea276018b754afa24199e5ede80cdb5bb.tar.zst
ducc-eb2700aea276018b754afa24199e5ede80cdb5bb.zip
feat: add /usr/include/x86_64-linux-gnu to default include paths
Diffstat (limited to 'preprocess.c')
-rw-r--r--preprocess.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/preprocess.c b/preprocess.c
index db9ad13..9f98e40 100644
--- a/preprocess.c
+++ b/preprocess.c
@@ -824,6 +824,7 @@ char* get_ducc_include_path() {
PpToken* do_preprocess(InFile* src, int depth, PpMacros* pp_macros) {
Preprocessor* pp = preprocessor_new(src, depth, pp_macros);
add_include_path(pp, get_ducc_include_path());
+ add_include_path(pp, "/usr/include/x86_64-linux-gnu");
add_include_path(pp, "/usr/include");
pp_tokenize_all(pp);
process_pp_directives(pp);