Skip to content

Commit

Permalink
perf_counter tools: fix Documentation/perf_counter build error
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Apr 28, 2009
1 parent 148be2c commit 1130b02
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Documentation/perf_counter/builtin-stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion Documentation/perf_counter/builtin-top.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1130b02

Please sign in to comment.