]> git.sesse.net Git - stockfish/blobdiff - src/movegen.h
Wait for main thread to finish before to exit
[stockfish] / src / movegen.h
index 0c781a6ba1c3aaa576628049652ea8e00ad609d1..38351e32f70c1b29eaf2df30acb5e197a2df980a 100644 (file)
@@ -20,8 +20,7 @@
 #if !defined(MOVEGEN_H_INCLUDED)
 #define MOVEGEN_H_INCLUDED
 
-#include "move.h"
-#include "position.h"
+#include "types.h"
 
 enum MoveType {
   MV_CAPTURE,
@@ -33,6 +32,8 @@ enum MoveType {
   MV_LEGAL
 };
 
+class Position;
+
 template<MoveType>
 MoveStack* generate(const Position& pos, MoveStack* mlist);