diff options
author | Emil Velikov | 2015-02-23 07:18:11 -0600 |
---|---|---|
committer | Emil Velikov | 2015-02-27 09:51:08 -0600 |
commit | 2b209fc409179a271751f57f6caad952e57eb3f6 (patch) | |
tree | b6308f30a16c53267cdada25c6ab62e5925b4e91 /tests | |
parent | 0dec5e14cff899d256c905c920f2a10d8eb6c55a (diff) | |
download | external-libgbm-2b209fc409179a271751f57f6caad952e57eb3f6.tar.gz external-libgbm-2b209fc409179a271751f57f6caad952e57eb3f6.tar.xz external-libgbm-2b209fc409179a271751f57f6caad952e57eb3f6.zip |
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>
Diffstat (limited to 'tests')
-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 @@ | |||
18 | #include <stdio.h> | 18 | #include <stdio.h> |
19 | #include <string.h> | 19 | #include <string.h> |
20 | #include <errno.h> | 20 | #include <errno.h> |
21 | #include <time.h> | ||
22 | #include <unistd.h> | ||
21 | 23 | ||
22 | #include <sys/mman.h> | 24 | #include <sys/mman.h> |
23 | #include <linux/stddef.h> | 25 | #include <linux/stddef.h> |