summaryrefslogtreecommitdiff
path: root/community/xmoto/unistd.patch
diff options
context:
space:
mode:
authorDaniel Molina García <lluvia@singularity.fr>2012-06-10 14:16:22 +0200
committerDaniel Molina García <lluvia@singularity.fr>2012-06-10 14:16:22 +0200
commitc03ce05ab71125c629b526a2ea70d489232bd842 (patch)
tree9a6cf3f2f7b4839bf58d824a7f0f7b72d7d2fa36 /community/xmoto/unistd.patch
parent11fe0679d59f68c3fbe3d0a205e5087bf694262e (diff)
Adding a unistd.h patch for compiling
Diffstat (limited to 'community/xmoto/unistd.patch')
-rw-r--r--community/xmoto/unistd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/xmoto/unistd.patch b/community/xmoto/unistd.patch
new file mode 100644
index 000000000..5cc765449
--- /dev/null
+++ b/community/xmoto/unistd.patch
@@ -0,0 +1,12 @@
+*** src/helpers/System.cpp 2011-10-11 22:18:14.000000000 +0200
+--- src/helpers/System2.cpp 2012-06-10 12:13:10.899345562 +0200
+***************
+*** 24,29 ****
+--- 24,30 ----
+ #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>;