projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1396672
)
perf tools: Include termios.h explicitly
author
Joonsoo Kim
<
[email protected]
>
Wed, 19 Jun 2013 01:02:30 +0000
(10:02 +0900)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Mon, 8 Jul 2013 20:36:05 +0000
(17:36 -0300)
Building perf for android fails because it can't find the definition of
struct winsize.
This definition is in termios.h, so I add this header to util.h to solve
the problem.
It is missed by commit '
2c803e52
' which moves get_term_dimensions() from
builtin-top.c to util.c, but missed to move termios.h header.
Signed-off-by: Joonsoo Kim <
[email protected]
>
Acked-by: David Ahern <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/util/util.h
patch
|
blob
|
history
diff --git
a/tools/perf/util/util.h
b/tools/perf/util/util.h
index 7a484c97e500cf6dab94a443729d242af5053d7f..2732fad039088ab97369bbe6e727b950ef6a0dcb 100644
(file)
--- a/
tools/perf/util/util.h
+++ b/
tools/perf/util/util.h
@@
-72,6
+72,7
@@
#include "types.h"
#include <sys/ttydefaults.h>
#include <lk/debugfs.h>
+#include <termios.h>
extern const char *graph_line;
extern const char *graph_dotted_line;
@@
-274,6
+275,5
@@
void dump_stack(void);
extern unsigned int page_size;
-struct winsize;
void get_term_dimensions(struct winsize *ws);
#endif /* GIT_COMPAT_UTIL_H */