[Orxonox-commit 5780] r10440 - code/branches/cpp11/src/external/ois/linux

bknecht at orxonox.net bknecht at orxonox.net
Sun May 10 18:49:49 CEST 2015


Author: bknecht
Date: 2015-05-10 18:49:49 +0200 (Sun, 10 May 2015)
New Revision: 10440

Modified:
   code/branches/cpp11/src/external/ois/linux/LinuxJoyStickEvents.cpp
Log:
Added include to make ois code compile under linux without build units


Modified: code/branches/cpp11/src/external/ois/linux/LinuxJoyStickEvents.cpp
===================================================================
--- code/branches/cpp11/src/external/ois/linux/LinuxJoyStickEvents.cpp	2015-05-10 14:35:50 UTC (rev 10439)
+++ code/branches/cpp11/src/external/ois/linux/LinuxJoyStickEvents.cpp	2015-05-10 16:49:49 UTC (rev 10440)
@@ -33,8 +33,8 @@
 #include <fcntl.h>        //Needed to Open a file descriptor
 #include <cassert>	
 #include <linux/input.h>
+#include <unistd.h>
 
-
 #include <sstream>
 # include <iostream>
 using namespace std;




More information about the Orxonox-commit mailing list