summaryrefslogtreecommitdiff
path: root/modules/omx
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-07 10:58:32 +0000
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-07 10:58:32 +0000
commitadbae9ce7955e6c70ab90d173054b875831d456e (patch)
tree5bed82f96fd728e80578b37fb9d578ad5655ddd7 /modules/omx
parent42b0d07efad8fe684159daa40b56b841e79f0343 (diff)
omx: include bcm_host.h (ref #344)
Diffstat (limited to 'modules/omx')
-rw-r--r--modules/omx/omx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/omx/omx.c b/modules/omx/omx.c
index 13f3207..16f38bf 100644
--- a/modules/omx/omx.c
+++ b/modules/omx/omx.c
@@ -5,6 +5,8 @@
* Copyright (C) 2016 - 2017 Jonathan Sieber
*/
+#define _POSIX_C_SOURCE 199309L
+
#include "omx.h"
#include <re.h>
@@ -19,6 +21,11 @@
#include <time.h>
#include <sys/time.h>
+#ifdef RASPBERRY_PI
+#include <bcm_host.h>
+#endif
+
+
/**
* @defgroup omx omx
*