aboutsummaryrefslogtreecommitdiff
path: root/games/xmoto/gcc-4.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/xmoto/gcc-4.7.patch')
-rw-r--r--games/xmoto/gcc-4.7.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/xmoto/gcc-4.7.patch b/games/xmoto/gcc-4.7.patch
new file mode 100644
index 0000000000000..59a6d8d9741d0
--- /dev/null
+++ b/games/xmoto/gcc-4.7.patch
@@ -0,0 +1,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>;