benchmarks: eine: include header for using time()

../src/benchmarks/eina/eina_bench_sort.c: In function ‘eina_bench_sort_eina’:
../src/benchmarks/eina/eina_bench_sort.c:52:10: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
    srand(time(NULL));

Found due to the nice quite build output in our meson feature branch.
This commit is contained in:
Stefan Schmidt 2017-12-22 15:57:55 +01:00
parent 3388077bc3
commit 53485e5949
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
#ifdef EINA_BENCH_HAVE_GLIB
# include <glib.h>