aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi/recipes-graphics/layer-management/layer-management-git/include-unistd-for-usleep-in-OpenGLES2App.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ivi/recipes-graphics/layer-management/layer-management-git/include-unistd-for-usleep-in-OpenGLES2App.patch')
-rw-r--r--meta-ivi/recipes-graphics/layer-management/layer-management-git/include-unistd-for-usleep-in-OpenGLES2App.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-ivi/recipes-graphics/layer-management/layer-management-git/include-unistd-for-usleep-in-OpenGLES2App.patch b/meta-ivi/recipes-graphics/layer-management/layer-management-git/include-unistd-for-usleep-in-OpenGLES2App.patch
new file mode 100644
index 0000000..87a9379
--- /dev/null
+++ b/meta-ivi/recipes-graphics/layer-management/layer-management-git/include-unistd-for-usleep-in-OpenGLES2App.patch
@@ -0,0 +1,18 @@
+Include unistd.h in OpenGLES2App.cpp as usleep is used in code
+
+Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
+Upstream-status: Pending
+
+Index: git/LayerManagerExamples/EGLX11MockNavigation/src/OpenGLES2App.cpp
+===================================================================
+--- git.orig/LayerManagerExamples/EGLX11MockNavigation/src/OpenGLES2App.cpp 2012-05-16 13:52:30.114057234 +0300
++++ git/LayerManagerExamples/EGLX11MockNavigation/src/OpenGLES2App.cpp 2012-05-16 13:52:46.674056640 +0300
+@@ -28,6 +28,8 @@
+ #include <math.h>
+ #include <sys/time.h>
+
++#include <unistd.h>
++
+ #define RUNTIME_IN_MS() (GetTickCount() - startTimeInMS)
+
+ // Max width and height of the window