diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-25 17:32:19 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-27 16:37:26 -0300 |
commit | 6bc13cab5798bd9b049694983ae5702666d24e83 (patch) | |
tree | def57c5bae4b9844b2fd2e5921f38e011a200251 /tools/perf/arch/x86/util/event.c | |
parent | 743ef218c2fbe63502615a2044977041ee068322 (diff) | |
download | linux-6bc13cab5798bd9b049694983ae5702666d24e83.tar.gz linux-6bc13cab5798bd9b049694983ae5702666d24e83.tar.bz2 linux-6bc13cab5798bd9b049694983ae5702666d24e83.zip |
perf arch x86: Add missing stdlib.h to get free() prototype
It was getting indirectly, out of luck, add it.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/x86/util/event.c')
-rw-r--r-- | tools/perf/arch/x86/util/event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/util/event.c b/tools/perf/arch/x86/util/event.c index e670f3547581..55ff6aec10fd 100644 --- a/tools/perf/arch/x86/util/event.c +++ b/tools/perf/arch/x86/util/event.c @@ -2,6 +2,7 @@ #include <linux/types.h> #include <linux/string.h> #include <linux/zalloc.h> +#include <stdlib.h> #include "../../../util/event.h" #include "../../../util/synthetic-events.h" |