diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2015-02-23 13:18:11 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-02-27 15:51:08 +0000 |
commit | 2b209fc409179a271751f57f6caad952e57eb3f6 (patch) | |
tree | b6308f30a16c53267cdada25c6ab62e5925b4e91 | |
parent | 0dec5e14cff899d256c905c920f2a10d8eb6c55a (diff) |
exynos_fimg2d_test: fix implicit funciton declaration errors
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@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
-rw-r--r-- | tests/exynos/exynos_fimg2d_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c index c6bd5589..f1419647 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> |