summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-02-23 13:18:11 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-02-27 15:51:08 +0000
commit2b209fc409179a271751f57f6caad952e57eb3f6 (patch)
treeb6308f30a16c53267cdada25c6ab62e5925b4e91
parent0dec5e14cff899d256c905c920f2a10d8eb6c55a (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.c2
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>