]> git.pld-linux.org Git - packages/ois.git/blob - gcc.patch
- fix missing c headers for c++ files
[packages/ois.git] / gcc.patch
1 --- ois-v1-3/src/linux/LinuxJoyStickEvents.cpp~ 2010-07-26 03:28:41.000000000 +0200
2 +++ ois-v1-3/src/linux/LinuxJoyStickEvents.cpp  2015-06-19 21:14:54.154198115 +0200
3 @@ -33,6 +33,7 @@
4  #include <fcntl.h>        //Needed to Open a file descriptor\r
5  #include <cassert>     \r
6  #include <linux/input.h>\r
7 +#include <unistd.h>\r
8  \r
9  \r
10  #include <sstream>\r
11 --- ois-v1-3/src/linux/LinuxForceFeedback.cpp~  2010-04-01 05:06:55.000000000 +0200
12 +++ ois-v1-3/src/linux/LinuxForceFeedback.cpp   2015-06-19 21:15:36.151765707 +0200
13 @@ -26,6 +26,7 @@
14  #include <cstdlib>\r
15  #include <errno.h>\r
16  #include <memory.h>\r
17 +#include <unistd.h>\r
18  \r
19  using namespace OIS;\r
20  \r
21 --- ois-v1-3/demos/OISConsole.cpp~      2010-08-16 00:51:34.000000000 +0200
22 +++ ois-v1-3/demos/OISConsole.cpp       2015-06-19 21:16:31.473579356 +0200
23 @@ -12,6 +12,7 @@
24  #include <iostream>\r
25  #include <vector>\r
26  #include <sstream>\r
27 +#include <unistd.h>\r
28  \r
29  ////////////////////////////////////Needed Windows Headers////////////\r
30  #if defined OIS_WIN32_PLATFORM\r
31 --- ois-v1-3/demos/FFConsoleDemo.cpp~   2010-04-01 05:38:04.000000000 +0200
32 +++ ois-v1-3/demos/FFConsoleDemo.cpp    2015-06-19 21:16:50.240050195 +0200
33 @@ -7,6 +7,7 @@
34  #include <ios>\r
35  #include <sstream>\r
36  #include <vector>\r
37 +#include <unistd.h>\r
38  \r
39  using namespace std;\r
40  \r
This page took 0.08856 seconds and 3 git commands to generate.