mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 04:23:35 +02:00
perf auxtrace: Include sys/types.h for pid_t
In754187ad73("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:754187ad73("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>
This commit is contained in:
parent
34e271ae55
commit
e28f834f57
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user