From 6bc13cab5798bd9b049694983ae5702666d24e83 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Tue, 25 Oct 2022 17:32:19 -0300 Subject: 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 --- tools/perf/arch/x86/util/tsc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/perf/arch/x86/util/tsc.c') diff --git a/tools/perf/arch/x86/util/tsc.c b/tools/perf/arch/x86/util/tsc.c index eb2b5195bd02..9b99f48b923c 100644 --- a/tools/perf/arch/x86/util/tsc.c +++ b/tools/perf/arch/x86/util/tsc.c @@ -2,6 +2,7 @@ #include #include #include +#include #include "../../../util/debug.h" #include "../../../util/tsc.h" -- cgit v1.2.3-59-g8ed1b