summaryrefslogtreecommitdiff
path: root/kernel/yosys.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-10-12 12:18:38 +0200
committerClifford Wolf <clifford@clifford.at>2014-10-12 12:18:38 +0200
commit1a7684be24ba5d776c4f1f4c0889e1200c41d7b6 (patch)
tree21ea2c67e5ad0919948f49332eaef3071a631721 /kernel/yosys.h
parent0b9282a779867459fe5babfff300795c343c46ea (diff)
Various small fixes for non-win32 builds
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r--kernel/yosys.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h
index e579e90d..5a37dd3c 100644
--- a/kernel/yosys.h
+++ b/kernel/yosys.h
@@ -58,6 +58,10 @@
#include <string.h>
#include <stdio.h>
+#ifdef YOSYS_ENABLE_TCL
+# include <tcl.h>
+#endif
+
#define PRIVATE_NAMESPACE_BEGIN namespace {
#define PRIVATE_NAMESPACE_END }
#define YOSYS_NAMESPACE_BEGIN namespace Yosys {
@@ -107,7 +111,6 @@ void yosys_setup();
void yosys_shutdown();
#ifdef YOSYS_ENABLE_TCL
-#include <tcl.h>
Tcl_Interp *yosys_get_tcl_interp();
#endif