summaryrefslogtreecommitdiff
path: root/games/xfreecell/patches/patch-ae
blob: e5ea4ddd1f454f737e315bb6d32569940cac5365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ae,v 1.2 2008/05/24 15:59:27 obache Exp $

--- subwindows.cpp.orig	1999-07-27 14:15:36.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;