summaryrefslogtreecommitdiff
path: root/tools/perf/arch/x86/util/machine.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/x86/util/machine.c')
-rw-r--r--tools/perf/arch/x86/util/machine.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/arch/x86/util/machine.c b/tools/perf/arch/x86/util/machine.c
index 1e9ec783b9a1..e17e080e76f4 100644
--- a/tools/perf/arch/x86/util/machine.c
+++ b/tools/perf/arch/x86/util/machine.c
@@ -1,9 +1,10 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/types.h>
#include <linux/string.h>
+#include <limits.h>
#include <stdlib.h>
-#include "../../util/util.h"
+#include <internal/lib.h> // page_size
#include "../../util/machine.h"
#include "../../util/map.h"
#include "../../util/symbol.h"