[PATCH libdrm 2/4] exynos_fimg2d_test: fix implicit funciton declaration errors
Emil Velikov
emil.l.velikov at gmail.com
Mon Feb 23 05:57:40 PST 2015
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
More information about the dri-devel
mailing list