Skip to content
Commit 128dbd78 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Arnaldo Carvalho de Melo
Browse files

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: default avatarAlexey Dobriyan (SK hynix) <adobriyan@gmail.com>
Acked-by: default avatarNamhyung Kim <namhyung@kernel.org>
Link: http://lore.kernel.org/lkml/YRukaQbrgDWhiwGr@localhost.localdomain


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent c635813f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment