summaryrefslogtreecommitdiff
path: root/games/brutalchess/brutalchess-0.5.2-gcc4.7.patch
blob: 8eb5283cfa437de382097ffbbacd6ffc6114afce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -Naur brutalchess-0.5.2.orig/src/faileplayer.cpp brutalchess-0.5.2/src/faileplayer.cpp
--- brutalchess-0.5.2.orig/src/faileplayer.cpp	2006-12-20 21:19:50.000000000 +0100
+++ brutalchess-0.5.2/src/faileplayer.cpp	2012-04-02 21:46:40.702000025 +0200
@@ -14,6 +14,7 @@
 #include <cassert>
 #include <sstream>
 #include <string>
+#include <unistd.h>
 
 using namespace std;
 
diff -Naur brutalchess-0.5.2.orig/src/xboardplayer.cpp brutalchess-0.5.2/src/xboardplayer.cpp
--- brutalchess-0.5.2.orig/src/xboardplayer.cpp	2006-12-19 05:00:01.000000000 +0100
+++ brutalchess-0.5.2/src/xboardplayer.cpp	2012-04-02 21:50:09.775000025 +0200
@@ -14,6 +14,7 @@
 #include <cassert>
 #include <sstream>
 #include <string>
+#include <unistd.h>
 
 using namespace std;