LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File xmoto-0.5.10-gcc47.patch of Package xmoto (Project games)

diff -Naur xmoto-0.5.10.orig/src/helpers/System.cpp xmoto-0.5.10/src/helpers/System.cpp
--- xmoto-0.5.10.orig/src/helpers/System.cpp	2011-10-11 22:18:14.000000000 +0200
+++ xmoto-0.5.10/src/helpers/System.cpp	2012-07-14 09:38:03.353438023 +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>;