Alexey Dobriyan 398312c687 perf tools: Fixup get_current_dir_name() compilation
commit 128dbd78bd673f9edbc4413072b23efb6657feb0 upstream.

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>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-15 07:54:36 +02:00
..
2019-02-19 16:11:56 -03:00
2019-02-19 16:11:56 -03:00
2019-09-25 16:26:34 -03:00
2020-09-23 12:40:41 +02:00
2020-10-01 13:18:05 +02:00
2019-11-05 08:49:14 -03:00
2021-07-28 13:30:54 +02:00
2019-01-25 15:12:09 +01:00