diff --git a/src/pawns.cpp b/src/pawns.cpp index 4ca1bb0e..135633a3 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -17,6 +17,7 @@ along with this program. If not, see . */ +#include #include #include "bitboard.h" diff --git a/src/search.cpp b/src/search.cpp index 22dc401c..5ea1f561 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1669,6 +1669,7 @@ void Thread::idle_loop() { Threads.mutex.lock(); assert(searching); + assert(activeSplitPoint); SplitPoint* sp = activeSplitPoint; Threads.mutex.unlock();