summaryrefslogtreecommitdiffstats
path: root/progs/perf/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'progs/perf/common.h')
-rw-r--r--progs/perf/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/perf/common.h b/progs/perf/common.h
index fc49bbed32f..6ea17402b52 100644
--- a/progs/perf/common.h
+++ b/progs/perf/common.h
@@ -24,6 +24,9 @@
#define COMMON_H
+#include <stddef.h> /* for offsetof() */
+
+
typedef void (*PerfRateFunc)(unsigned count);