summaryrefslogtreecommitdiffstats
path: root/src/jogl/native/openmax/omx_tool.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-07-16 04:47:52 +0200
committerSven Gothel <[email protected]>2015-07-16 04:47:52 +0200
commit7bcf094c8c1be5eeec60c52e09fd8f32f42cd654 (patch)
tree91f545ee381481e5c1530a6d17c2408e54f9689e /src/jogl/native/openmax/omx_tool.h
parent6487e3d25c55eadbf527739012e21e8f33e67a0f (diff)
openmax: fix compile errors (clang)
Diffstat (limited to 'src/jogl/native/openmax/omx_tool.h')
-rw-r--r--src/jogl/native/openmax/omx_tool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jogl/native/openmax/omx_tool.h b/src/jogl/native/openmax/omx_tool.h
index 022c56cf9..31abfc5b2 100644
--- a/src/jogl/native/openmax/omx_tool.h
+++ b/src/jogl/native/openmax/omx_tool.h
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
// FIXME: Move all sync/buffer handling to Java - Already done -> GLMediaPlayerImpl
#define EGLIMAGE_MAX_BUFFERS 4