diff options
| author | Arnaldo Carvalho de Melo <acme@kernel.org> | 2025-12-03 11:50:03 -0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-12-03 11:01:05 -0800 |
| commit | e28f834f57131be2cfd60a1c9c580f0a71995dc9 (patch) | |
| tree | 18314c8dfe6939bc7ec24325fe7b7df3a3c80f45 | |
| parent | 34e271ae55382fbdb04f3e13e856457d8e0dee45 (diff) | |
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>
| -rw-r--r-- | tools/perf/util/auxtrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h index eee2c11f7666..6947f3f284c0 100644 --- a/tools/perf/util/auxtrace.h +++ b/tools/perf/util/auxtrace.h @@ -7,6 +7,7 @@ #ifndef __PERF_AUXTRACE_H #define __PERF_AUXTRACE_H +#include <sys/types.h> #include <stdio.h> // FILE #include <linux/perf_event.h> #include <linux/types.h> |
