summaryrefslogtreecommitdiff
path: root/community/xmoto/unistd.patch
blob: 5cc7654491d5e6af51b55f3ab6be7296367776f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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>;