(is_system_include): Call skip_redundant_dir_prefix.

From-SVN: r10348
This commit is contained in:
Richard Kenner 1995-09-12 19:05:22 -04:00
parent e922dbad2c
commit 4a368461a5

View File

@ -4734,7 +4734,7 @@ is_system_include (filename)
for (searchptr = first_system_include; searchptr;
searchptr = searchptr->next)
if (searchptr->fname) {
register char *sys_dir = searchptr->fname;
register char *sys_dir = skip_redundant_dir_prefix (searchptr->fname);
register unsigned length = strlen (sys_dir);
if (! strncmp (sys_dir, filename, length)