diff options
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r-- | kernel/yosys.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h index 50a159939..bbcbd5fed 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -124,7 +124,14 @@ YOSYS_NAMESPACE_BEGIN -#include "kernel/hashlib.h" +#ifdef HASHLIB_H +# undef HASHLIB_H +# include "kernel/hashlib.h" +#else +# include "kernel/hashlib.h" +# undef HASHLIB_H +#endif + using std::vector; using std::string; using hashlib::mkhash; |