diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c index 0afcc7eccc61..997875c770b1 100644 --- a/tools/perf/bench/numa.c +++ b/tools/perf/bench/numa.c @@ -38,6 +38,10 @@ #include #include +#ifndef RUSAGE_THREAD +# define RUSAGE_THREAD 1 +#endif + /* * Regular printout to the terminal, supressed if -q is specified: */