pkgsrc/games/xfreecell/patches/patch-ae
2011-11-22 18:09:31 +00:00

24 lines
513 B
Text

$NetBSD: patch-ae,v 1.3 2011/11/22 18:11:14 joerg Exp $
--- subwindows.cpp.orig 1999-07-27 14:15:36.000000000 +0000
+++ subwindows.cpp
@@ -1,9 +1,11 @@
#include <sys/stat.h>
#include <sys/types.h>
+#include <errno.h>
#include <fcntl.h>
#include <dirent.h>
#include <unistd.h>
#include <stdio.h>
+#include <stdlib.h>
#include "general.h"
#include "subwindows.h"
@@ -62,7 +64,6 @@ void QueryWindow::waitForEvent()
}
//Score
-extern int errno;
const int winScore = 10;
const int defeatScore = 10;