99337026dfa2ae3492d0b157a5f9e490c0421f64
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / qtuio / 0001-TuioServer.cpp-add-missing-include.patch
1 From 4dd7cad8c95484a882eaa2aeaa74595a3dd93a07 Mon Sep 17 00:00:00 2001
2 From: Stephan Hoffmann <sho@relinux.de>
3 Date: Sun, 2 Dec 2012 13:36:41 +0100
4 Subject: [PATCH] TuioServer.cpp: add missing include
5
6 If usleep() is used the header <unistd.h> has to be included
7
8 Signed-off-by: Stephan Hoffmann <sho@relinux.de>
9 ---
10  src/3rdparty/tuio/TuioServer.cpp |    2 ++
11  1 files changed, 2 insertions(+), 0 deletions(-)
12
13 diff --git a/src/3rdparty/tuio/TuioServer.cpp b/src/3rdparty/tuio/TuioServer.cpp
14 index f17bef9..851144c 100644
15 --- a/src/3rdparty/tuio/TuioServer.cpp
16 +++ b/src/3rdparty/tuio/TuioServer.cpp
17 @@ -25,6 +25,8 @@ using namespace TUIO;
18  using namespace osc;
19  
20  #ifndef WIN32
21 +#include <unistd.h>
22 +
23  static void* ThreadFunc( void* obj )
24  #else
25  static DWORD WINAPI ThreadFunc( LPVOID obj )
26 -- 
27 1.7.0.4
28