From: Marco Costalba Date: Mon, 17 Nov 2008 21:33:43 +0000 (+0100) Subject: Remove an include in movepick.h X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=bac4da70c91bc4ac5def1dd6ae991aca3370299c;p=fairystockfish.git Remove an include in movepick.h Signed-off-by: Marco Costalba Signed-off-by: unknown --- diff --git a/src/movepick.h b/src/movepick.h index 110bc3b..fd1ee89 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 58884c3..47e1af2 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 cbae9cb..9d8a8cf 100644 --- a/src/san.cpp +++ b/src/san.cpp @@ -31,6 +31,7 @@ #include "movepick.h" #include "san.h" +extern SearchStack EmptySearchStack; //// //// Local definitions