summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2017-12-22 15:57:55 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2018-01-02 14:18:14 +0100
commit53485e59490dea7052f9345e448e0d3bd240ae9e (patch)
treede1cff5fde7cab4092e80439e1724fe1e62d1f79
parent3388077bc35b9d0be902051aee3d9977562dda6c (diff)
downloadefl-53485e59490dea7052f9345e448e0d3bd240ae9e.tar.gz
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.
-rw-r--r--src/benchmarks/eina/eina_bench_sort.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/benchmarks/eina/eina_bench_sort.c b/src/benchmarks/eina/eina_bench_sort.c
index c3c9d9ff95..fc2b343466 100644
--- a/src/benchmarks/eina/eina_bench_sort.c
+++ b/src/benchmarks/eina/eina_bench_sort.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#ifdef EINA_BENCH_HAVE_GLIB
# include <glib.h>