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