blob: 71c7565e17df2fd994d8a7e0f38286b98144848d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
--- a/demos/FFConsoleDemo.cpp.old 2012-07-17 08:41:33.667876985 +0200
+++ b/demos/FFConsoleDemo.cpp 2012-07-17 08:42:01.415928693 +0200
@@ -7,6 +7,7 @@
#include <ios>
#include <sstream>
#include <vector>
+#include <unistd.h>
using namespace std;
--- a/demos/OISConsole.cpp.old 2012-07-17 08:43:44.637681119 +0200
+++ b/demos/OISConsole.cpp 2012-07-17 08:44:06.653135337 +0200
@@ -12,6 +12,7 @@
#include <iostream>
#include <vector>
#include <sstream>
+#include <unistd.h>
////////////////////////////////////Needed Windows Headers////////////
#if defined OIS_WIN32_PLATFORM
--- a/src/linux/LinuxJoyStickEvents.cpp.old 2012-07-17 08:37:56.065155660 +0200
+++ b/src/linux/LinuxJoyStickEvents.cpp 2012-07-17 08:38:33.236545721 +0200
@@ -33,6 +33,7 @@
#include <fcntl.h> //Needed to Open a file descriptor
#include <cassert>
#include <linux/input.h>
+#include <unistd.h>
#include <sstream>
--- a/src/linux/LinuxForceFeedback.cpp.old 2012-07-17 08:40:02.633268854 +0200
+++ b/src/linux/LinuxForceFeedback.cpp 2012-07-17 08:40:28.642442655 +0200
@@ -26,6 +26,7 @@
#include <cstdlib>
#include <errno.h>
#include <memory.h>
+#include <unistd.h>
using namespace OIS;
|