diff options
Diffstat (limited to 'libs/ezsat/ezminisat.cc')
-rw-r--r-- | libs/ezsat/ezminisat.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/ezsat/ezminisat.cc b/libs/ezsat/ezminisat.cc index 4677f68bd..caee73f88 100644 --- a/libs/ezsat/ezminisat.cc +++ b/libs/ezsat/ezminisat.cc @@ -28,8 +28,13 @@ #include <csignal> #include <cinttypes> -#include <minisat/core/Solver.h> -#include <minisat/simp/SimpSolver.h> +#ifdef _YOSYS_ +# include "libs/minisat/Solver.h" +# include "libs/minisat/SimpSolver.h" +#else +# include <minisat/core/Solver.h> +# include <minisat/simp/SimpSolver.h> +#endif ezMiniSAT::ezMiniSAT() : minisatSolver(NULL) { |