tools x86 machine: Add missing util.h to pick up 'page_size'
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: af41949d9e022f4e37d476505e406c87479862ab Gitweb: https://git.kernel.org/tip/af41949d9e022f4e37d476505e406c87479862ab Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 25 Jun 2019 18:01:47 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 25 Jun 2019 18:01:47 -0300
tools x86 machine: Add missing util.h to pick up 'page_size'
We're getting it by sheer luck, add that util.h to get the 'page_size' definition.
Cc Adrian Hunter <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/arch/x86/util/machine.c | 1 + 1 file changed, 1 insertion(+)
tools/perf/arch/x86/util/machine.c +1 -0
@@ -3,6 +3,7 @@#include <linux/string.h> #include <stdlib.h> +#include "../../util/util.h" #include "../../util/machine.h" #include "../../util/map.h" #include "../../util/symbol.h"