--- gnuchess-4.0.pl80/src/dspcom.c.orig	1998-09-28 02:41:19.000000000 -0400
+++ gnuchess-4.0.pl80/src/dspcom.c	2004-04-21 19:33:28.000000000 -0400
@@ -31,6 +31,7 @@
 #include "gnuchess.h"
 #include "ataks.h"
 #include "ttable.h" /* calls ZeroTTable(), probably belongs in main.c*/
+#include <errno.h>
 #ifdef HAVE_GETTIMEOFDAY
 #include <sys/time.h>
 #endif
