As one adds WARN_CFLAGS to the build the compiler throws a couple of lovely error messages. Add the relevant includes to fix them.
error: implicit declaration of function âtimeâ error: implicit declaration of function âgetoptâ Cc: Inki Dae <inki.dae at samsung.com> Cc: Kyungmin Park <kyungmin.park at samsung.com> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com> --- tests/exynos/exynos_fimg2d_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c index c6bd558..f141964 100644 --- a/tests/exynos/exynos_fimg2d_test.c +++ b/tests/exynos/exynos_fimg2d_test.c @@ -18,6 +18,8 @@ #include <stdio.h> #include <string.h> #include <errno.h> +#include <time.h> +#include <unistd.h> #include <sys/mman.h> #include <linux/stddef.h> -- 2.3.0