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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/util/machine.c b/tools/perf/arch/x86/util/machine.c
index 42418040bc07..f0c289862f9f 100644
--- a/tools/perf/arch/x86/util/machine.c
+++ b/tools/perf/arch/x86/util/machine.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/types.h>
#include <linux/string.h>
+#include <limits.h>
#include <stdlib.h>
#include "../../util/util.h" // page_size