![Peter Korsgaard](/assets/img/avatar_default.png)
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
29 lines
807 B
Diff
29 lines
807 B
Diff
From 4dd7cad8c95484a882eaa2aeaa74595a3dd93a07 Mon Sep 17 00:00:00 2001
|
|
From: Stephan Hoffmann <sho@relinux.de>
|
|
Date: Sun, 2 Dec 2012 13:36:41 +0100
|
|
Subject: [PATCH] TuioServer.cpp: add missing include
|
|
|
|
If usleep() is used the header <unistd.h> has to be included
|
|
|
|
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
|
|
---
|
|
src/3rdparty/tuio/TuioServer.cpp | 2 ++
|
|
1 files changed, 2 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/src/3rdparty/tuio/TuioServer.cpp b/src/3rdparty/tuio/TuioServer.cpp
|
|
index f17bef9..851144c 100644
|
|
--- a/src/3rdparty/tuio/TuioServer.cpp
|
|
+++ b/src/3rdparty/tuio/TuioServer.cpp
|
|
@@ -25,6 +25,8 @@ using namespace TUIO;
|
|
using namespace osc;
|
|
|
|
#ifndef WIN32
|
|
+#include <unistd.h>
|
|
+
|
|
static void* ThreadFunc( void* obj )
|
|
#else
|
|
static DWORD WINAPI ThreadFunc( LPVOID obj )
|
|
--
|
|
1.7.0.4
|
|
|