The declaration of moves_ignore had to be enabled in XBoard mode,
as well as the test for excluded moves to decide on book probing.
sckt_t sckt_csa;
#endif
-#if defined(MNJ_LAN) || defined(USI)
+#if defined(MNJ_LAN) || defined(USI) || defined(XBOARD)
unsigned int moves_ignore[MAX_LEGAL_MOVES];
#endif
/* probe the opening book */
if ( pf_book != NULL && ! analyze_mode
-#if defined(USI) || defined(MNJ_LAN)
+#if defined(USI) || defined(MNJ_LAN) || defined(XBOARD)
&& moves_ignore[0] == MOVE_NA
#endif
&& ! rep_book_prob( ptree ) )
extern sckt_t sckt_csa;
#endif
-#if defined(MNJ_LAN) || defined(USI)
+#if defined(MNJ_LAN) || defined(USI) || defined(XBOARD)
extern unsigned int moves_ignore[MAX_LEGAL_MOVES];
#endif