diff options
author | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2018-01-07 10:58:32 +0000 |
---|---|---|
committer | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2018-01-07 10:58:32 +0000 |
commit | adbae9ce7955e6c70ab90d173054b875831d456e (patch) | |
tree | 5bed82f96fd728e80578b37fb9d578ad5655ddd7 /modules/omx/omx.c | |
parent | 42b0d07efad8fe684159daa40b56b841e79f0343 (diff) |
omx: include bcm_host.h (ref #344)
Diffstat (limited to 'modules/omx/omx.c')
-rw-r--r-- | modules/omx/omx.c | 7 |
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 * |