From bac4da70c91bc4ac5def1dd6ae991aca3370299c Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 17 Nov 2008 22:33:43 +0100 Subject: [PATCH] Remove an include in movepick.h Signed-off-by: Marco Costalba Signed-off-by: unknown --- src/movepick.h | 2 +- src/position.cpp | 2 ++ src/san.cpp | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/movepick.h b/src/movepick.h index 110bc3b8..fd1ee890 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -28,7 +28,6 @@ #include "depth.h" #include "lock.h" #include "position.h" -#include "search.h" //// @@ -36,6 +35,7 @@ //// struct EvalInfo; +struct SearchStack; /// MovePicker is a class which is used to pick one legal move at a time from /// the current position. It is initialized with a Position object and a few diff --git a/src/position.cpp b/src/position.cpp index 58884c37..47e1af27 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -39,6 +39,8 @@ //// Variables //// +extern SearchStack EmptySearchStack; + int Position::castleRightsMask[64]; Key Position::zobrist[2][8][64]; diff --git a/src/san.cpp b/src/san.cpp index cbae9cb8..9d8a8cf4 100644 --- a/src/san.cpp +++ b/src/san.cpp @@ -31,6 +31,7 @@ #include "movepick.h" #include "san.h" +extern SearchStack EmptySearchStack; //// //// Local definitions -- 2.39.2