diff --git a/kernel/functional.cc b/kernel/functional.cc index 1ece145e59f..11f030eae14 100644 --- a/kernel/functional.cc +++ b/kernel/functional.cc @@ -22,6 +22,7 @@ #include "kernel/topo_scc.h" #include "ff.h" #include "ffinit.h" +#include YOSYS_NAMESPACE_BEGIN namespace Functional { diff --git a/tests/functional/vcd_harness.cc b/tests/functional/vcd_harness.cc index 7232172348a..30238429b6e 100644 --- a/tests/functional/vcd_harness.cc +++ b/tests/functional/vcd_harness.cc @@ -4,6 +4,7 @@ #include #include #include +#include #include "my_module_functional_cxx.cc"