diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c index 44195514b19e65a5ee0287b48fa0ab25fa44d66f..fa56fde6e8d8036921e8b012bc69ae9afb70581a 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: */