diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2018-07-30 13:15:03 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-07-30 13:15:03 -0300 |
commit | 44fe619b1418ff4e9d2f9518a940fbe2fb686a08 (patch) | |
tree | e01a0174bd7feb1a7c96e57c0890d5005ac1621e /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 1f27a050fc679d16e68a40e0bb575364a89fad66 (diff) |
perf tools: Fix the build on the alpine:edge distro
The UAPI file byteorder/little_endian.h uses the __always_inline define
without including the header where it is defined, linux/stddef.h, this
ends up working in all the other distros because that file gets included
seemingly by luck from one of the files included from little_endian.h.
But not on Alpine:edge, that fails for all files where perf_event.h is
included but linux/stddef.h isn't include before that.
Adding the missing linux/stddef.h file where it breaks on Alpine:edge to
fix that, in all other distros, that is just a very small header anyway.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions