aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-04-12 15:20:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-04-12 15:20:24 -0700
commit9b1ef1de20e2658c77cce89941f45525704ab534 (patch)
tree9ae887c34496c6a8be6ea3e5eaa41cd52e743588 /tools
parentccb1ec95e924a24906ef01ce6d028a8dc13dc87d (diff)
parent7b78f13603c6fcb64e020a0bbe31a651ea2b657b (diff)
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull trivial perf build failure fix from Thomas Gleixner. * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf tools: Fix getrusage() related build failure on glibc trunk
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/builtin-sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
index fb8b5f83b4a..1cad3af4bf4 100644
--- a/tools/perf/builtin-sched.c
+++ b/tools/perf/builtin-sched.c
@@ -17,6 +17,7 @@
#include "util/debug.h"
#include <sys/prctl.h>
+#include <sys/resource.h>
#include <semaphore.h>
#include <pthread.h>