From: Guy Harris Date: Wed, 11 Aug 2021 21:46:42 +0000 (-0700) Subject: gencode.c: don't include grammar.h. X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/f4840dc020753e44ac62ec779cf954cd434f9616 gencode.c: don't include grammar.h. It defines things necessary for communication between the lexical analyzer and parser, but doesn't define anything we (as the semantic part of the compiler) should need. --- diff --git a/gencode.c b/gencode.c index 6b9d1357..3279ee09 100644 --- a/gencode.c +++ b/gencode.c @@ -24,12 +24,7 @@ #include #endif -/* - * grammar.h requires gencode.h and sometimes breaks in a polluted namespace - * (see ftmacros.h), so include it early. - */ #include "gencode.h" -#include "grammar.h" #include #ifdef _WIN32