summaryrefslogtreecommitdiff
path: root/kernel/yosys.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r--kernel/yosys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h
index 88f060a5..d1e01b19 100644
--- a/kernel/yosys.h
+++ b/kernel/yosys.h
@@ -137,6 +137,8 @@ YOSYS_NAMESPACE_BEGIN
using std::vector;
using std::string;
+using std::pair;
+
using hashlib::mkhash;
using hashlib::mkhash_init;
using hashlib::mkhash_add;
@@ -221,6 +223,8 @@ YOSYS_NAMESPACE_END
YOSYS_NAMESPACE_BEGIN
+using RTLIL::State;
+
namespace hashlib {
template<> struct hash_ops<RTLIL::State> : hash_ops<int> {};
}