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>
main
Emil Velikov 2015-02-23 13:18:11 +00:00
parent 0dec5e14cf
commit 2b209fc409
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <time.h>
#include <unistd.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <linux/stddef.h> #include <linux/stddef.h>