소스 검색

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>
Peter Zijlstra 16 년 전
부모
커밋
1130b02961
2개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      Documentation/perf_counter/builtin-stat.c
  2. 0 1
      Documentation/perf_counter/builtin-top.c

+ 0 - 1
Documentation/perf_counter/builtin-stat.c

@@ -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>

+ 0 - 1
Documentation/perf_counter/builtin-top.c

@@ -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>