diff options
-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 * |