summaryrefslogtreecommitdiff
path: root/tools/perf/arch/x86/util/pmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/x86/util/pmu.c')
-rw-r--r--tools/perf/arch/x86/util/pmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/util/pmu.c b/tools/perf/arch/x86/util/pmu.c
index 63a74c32ddc5..e33ef5bc31c5 100644
--- a/tools/perf/arch/x86/util/pmu.c
+++ b/tools/perf/arch/x86/util/pmu.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include <string.h>
+#include <linux/stddef.h>
#include <linux/perf_event.h>
#include "../../util/intel-pt.h"