perf_counter tools: fix Documentation/perf_counter build error
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 28 Apr 2009 12:56:18 +0000 (14:56 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 28 Apr 2009 14:27:41 +0000 (16:27 +0200)
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>
Documentation/perf_counter/builtin-stat.c
Documentation/perf_counter/builtin-top.c

index d7ace63..112b94e 100644 (file)
@@ -68,7 +68,6 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <errno.h>
-#include <ctype.h>
 #include <time.h>
 #include <sched.h>
 #include <pthread.h>
index dea016f..6a276d2 100644 (file)
@@ -49,7 +49,6 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <errno.h>
-#include <ctype.h>
 #include <time.h>
 #include <sched.h>
 #include <pthread.h>