From: Jerome Benoit Date: Sat, 26 Dec 2020 15:41:15 +0000 (+0000) Subject: add missing header in `examples/benchnmakrs/bench.h' X-Git-Tag: archive/raspbian/0.8.5+ds1-1+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=94026a77d70e4a7647f79e6a122e9c179c6f8832;p=igraph.git add missing header in `examples/benchnmakrs/bench.h' Origin: debian Forwarded: https://github.com/igraph/igraph/pull/1581 Last-Update: 2020-12-20 Include sys/resource.h in `e/b/bench.h'; meant to be submitted to the upstream maintainer. Gbp-Pq: Name upstream-fix-examples_benchmarks_bench_h-missing-include.patch --- diff --git a/examples/benchmarks/bench.h b/examples/benchmarks/bench.h index 9e343a9..fb11c68 100644 --- a/examples/benchmarks/bench.h +++ b/examples/benchmarks/bench.h @@ -24,6 +24,8 @@ #ifndef IGRAPH_BENCH_H #define IGRAPH_BENCH_H +#include + static inline void igraph_get_cpu_time(igraph_real_t *data) { struct rusage self, children;