diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-02 03:29:31 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-15 10:06:21 +0900 |
| commit | eb2700aea276018b754afa24199e5ede80cdb5bb (patch) | |
| tree | aab6a56d65801e587183e3b4acbb136d880ce118 | |
| parent | 386fef59fafbd1fd05e6907f100ba99cedf88822 (diff) | |
| download | ducc-eb2700aea276018b754afa24199e5ede80cdb5bb.tar.gz ducc-eb2700aea276018b754afa24199e5ede80cdb5bb.tar.zst ducc-eb2700aea276018b754afa24199e5ede80cdb5bb.zip | |
feat: add /usr/include/x86_64-linux-gnu to default include paths
| -rw-r--r-- | preprocess.c | 1 |
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); |
