aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppfiles.c')
-rw-r--r--gcc/cppfiles.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c
index 4e14aae..4def8ed 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -618,6 +618,7 @@ read_include_file (pfile, inc)
/* These must be set before prescan. */
fp->inc = inc;
fp->nominal_fname = inc->name;
+ pfile->include_depth++;
if (length == 0)
inc->cmacro = NEVER_REREAD;