summaryrefslogtreecommitdiff
path: root/community-testing/xmoto/system.cpp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/xmoto/system.cpp.patch')
-rw-r--r--community-testing/xmoto/system.cpp.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community-testing/xmoto/system.cpp.patch b/community-testing/xmoto/system.cpp.patch
new file mode 100644
index 000000000..df42e3a7c
--- /dev/null
+++ b/community-testing/xmoto/system.cpp.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>;