slackbuilds_ponce/games/xmoto/gcc-4.7.patch
Alex Word 93c2913f07 games/xmoto: Updated for version 0.5.10.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-08-10 00:13:06 -05:00

10 lines
366 B
Diff

--- 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>;