aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-04-28 08:56:18 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-28 10:27:41 -0400
commit1130b0296184bc21806225fd06d533515a99d2db (patch)
tree379684c9567726c5b7d241287045735cf637fade
parent148be2c15d4a866fbc7a8f55342e4fd4de73be61 (diff)
perf_counter tools: fix Documentation/perf_counter build error
Mike Galbraith reported: > marge:..Documentation/perf_counter # make > CC builtin-stat.o > In file included from builtin-stat.c:71: > /usr/include/ctype.h:102: error: expected expression before ‘]’ token Remove the ctype.h include. Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--Documentation/perf_counter/builtin-stat.c1
-rw-r--r--Documentation/perf_counter/builtin-top.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/perf_counter/builtin-stat.c b/Documentation/perf_counter/builtin-stat.c
index d7ace631fc4f..112b94ed3298 100644
--- a/Documentation/perf_counter/builtin-stat.c
+++ b/Documentation/perf_counter/builtin-stat.c
@@ -68,7 +68,6 @@
68#include <fcntl.h> 68#include <fcntl.h>
69#include <stdio.h> 69#include <stdio.h>
70#include <errno.h> 70#include <errno.h>
71#include <ctype.h>
72#include <time.h> 71#include <time.h>
73#include <sched.h> 72#include <sched.h>
74#include <pthread.h> 73#include <pthread.h>
diff --git a/Documentation/perf_counter/builtin-top.c b/Documentation/perf_counter/builtin-top.c
index dea016fa41e8..6a276d2b2bbc 100644
--- a/Documentation/perf_counter/builtin-top.c
+++ b/Documentation/perf_counter/builtin-top.c
@@ -49,7 +49,6 @@
49#include <fcntl.h> 49#include <fcntl.h>
50#include <stdio.h> 50#include <stdio.h>
51#include <errno.h> 51#include <errno.h>
52#include <ctype.h>
53#include <time.h> 52#include <time.h>
54#include <sched.h> 53#include <sched.h>
55#include <pthread.h> 54#include <pthread.h>