diff --git a/include/gtkwave/fstapi.c b/include/gtkwave/fstapi.c index ba2beb2aa..32b3c0df7 100644 --- a/include/gtkwave/fstapi.c +++ b/include/gtkwave/fstapi.c @@ -37,9 +37,10 @@ * */ -// Verilator: use hardcoded config file -//#include -#include "fst_config.h" +#ifndef FST_CONFIG_INCLUDE +# define FST_CONFIG_INCLUDE +#endif +#include FST_CONFIG_INCLUDE #include "fstapi.h" #include "fastlz.h" diff --git a/include/verilated_fst_c.cpp b/include/verilated_fst_c.cpp index 365a77b92..fde2e017b 100644 --- a/include/verilated_fst_c.cpp +++ b/include/verilated_fst_c.cpp @@ -31,6 +31,7 @@ #endif // Include the GTKWave implementation directly +#define FST_CONFIG_INCLUDE "fst_config.h" #include "gtkwave/fastlz.c" #include "gtkwave/fstapi.c" #include "gtkwave/lz4.c"