diff options
| -rw-r--r-- | tools/perf/bench/numa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c index 98ad783efc69..a7784554a80d 100644 --- a/tools/perf/bench/numa.c +++ b/tools/perf/bench/numa.c | |||
| @@ -39,6 +39,10 @@ | |||
| 39 | #include <numa.h> | 39 | #include <numa.h> |
| 40 | #include <numaif.h> | 40 | #include <numaif.h> |
| 41 | 41 | ||
| 42 | #ifndef RUSAGE_THREAD | ||
| 43 | # define RUSAGE_THREAD 1 | ||
| 44 | #endif | ||
| 45 | |||
| 42 | /* | 46 | /* |
| 43 | * Regular printout to the terminal, supressed if -q is specified: | 47 | * Regular printout to the terminal, supressed if -q is specified: |
| 44 | */ | 48 | */ |
