diff options
author | Alexey Dobriyan <[email protected]> | 2021-08-17 14:58:33 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-08-30 10:06:16 -0300 |
commit | 128dbd78bd673f9edbc4413072b23efb6657feb0 (patch) | |
tree | 13192e59b14a4164adb14f4b1cc90a6919c983f2 /tools/perf/scripts/python/sctop.py | |
parent | c635813fef0b2327ffecbfbd642f0009e186b3a5 (diff) |
perf tools: Fixup get_current_dir_name() compilation
strdup() prototype doesn't live in stdlib.h .
Add limits.h for PATH_MAX definition as well.
This fixes the build on Android.
Signed-off-by: Alexey Dobriyan (SK hynix) <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions