]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf auxtrace: Include sys/types.h for pid_t
authorArnaldo Carvalho de Melo <acme@kernel.org>
Wed, 3 Dec 2025 14:50:03 +0000 (11:50 -0300)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 3 Dec 2025 19:01:05 +0000 (11:01 -0800)
commite28f834f57131be2cfd60a1c9c580f0a71995dc9
tree18314c8dfe6939bc7ec24325fe7b7df3a3c80f45
parent34e271ae55382fbdb04f3e13e856457d8e0dee45
perf auxtrace: Include sys/types.h for pid_t

In 754187ad73b73bcb ("perf build: Remove NO_AUXTRACE build option")
sys/types.h was removed, which broke the build in all Alpine Linux
releases, as musl libc has pid_t defined via sys/types.h, add it back.

Fixes: 754187ad73b73bcb ("perf build: Remove NO_AUXTRACE build option")
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/auxtrace.h