aboutsummaryrefslogtreecommitdiff
path: root/games/xmoto/gcc-4.7.patch
blob: 59a6d8d9741d0a8d4a20044d0d6ea85833652a3a (plain)
1
2
3
4
5
6
7
8
9
10
--- a/src/helpers/System.cpp	2011-10-11 22:18:14.000000000 +0200
+++ b/src/helpers/System.cpp	2012-07-21 21:28:40.000000000 +0200
@@ -24,6 +24,7 @@
 #include "Log.h"
 #include "VExcept.h"
 #include <sstream>
+#include <unistd.h>

 std::vector<std::string>* System::getDisplayModes(int windowed) {
     std::vector<std::string>* modes = new std::vector<std::string>;