diff options
| author | Alexey Dobriyan <adobriyan@gmail.com> | 2021-08-17 14:58:33 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-08-30 10:06:16 -0300 |
| commit | 128dbd78bd673f9edbc4413072b23efb6657feb0 (patch) | |
| tree | 13192e59b14a4164adb14f4b1cc90a6919c983f2 /lib/mpi/mpi-sub-ui.c | |
| 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) <adobriyan@gmail.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lore.kernel.org/lkml/YRukaQbrgDWhiwGr@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
