$NetBSD: patch-ae,v 1.1 2006/01/12 23:59:02 joerg Exp $

--- subwindows.cpp.orig	2006-01-12 23:55:23.000000000 +0000
+++ subwindows.cpp
@@ -1,5 +1,6 @@
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <errno.h>
 #include <fcntl.h>
 #include <dirent.h>
 #include <unistd.h>
@@ -62,7 +63,6 @@ void QueryWindow::waitForEvent()
 }
 
 //Score
-extern int errno;
 
 const int winScore = 10;
 const int defeatScore = 10;
