diff options
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 0406e62..61f72b4 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -237,7 +237,10 @@ append_include_chain (pfile, dir, path, cxx_aware) new->len = len; new->ino = st.st_ino; new->dev = st.st_dev; - if (path == SYSTEM) + /* Both systm and after include file lists should be treated as system + include files since these two lists are really just a concatenation + of one "system" list. */ + if (path == SYSTEM || path == AFTER) #ifdef NO_IMPLICIT_EXTERN_C new->sysp = 1; #else |