diff --git a/libtcc.c b/libtcc.c index 61379bc..55ba5a6 100644 --- a/libtcc.c +++ b/libtcc.c @@ -885,6 +885,7 @@ LIBTCCAPI TCCState *tcc_new(void) #endif s->output_type = TCC_OUTPUT_MEMORY; preprocess_new(); + s->include_stack_ptr = s->include_stack; /* we add dummy defines for some special macros to speed up tests and to have working defined() */