Fix WASI build after commit 1d88bea1.
authorwhitequark <whitequark@whitequark.org>
Sat, 19 Jun 2021 02:59:57 +0000 (02:59 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 19 Jun 2021 02:59:57 +0000 (02:59 +0000)
kernel/yosys.cc

index f543447bdb508f68b42212e30806dfcff2a16088..39d6a1ec1484f0833693d3ab88a00b7eeaa8a2aa 100644 (file)
 #   define INIT_MODULE initlibyosys
        extern "C" void INIT_MODULE();
 #endif
+#include <signal.h>
 #endif
 
 #include <limits.h>
 #include <errno.h>
-#include <signal.h>
 
 YOSYS_NAMESPACE_BEGIN