summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/include/linux/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/include/linux/compiler.h')
-rw-r--r--tools/perf/util/include/linux/compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/include/linux/compiler.h b/tools/perf/util/include/linux/compiler.h
index 547628e97f3d..2dc867128e46 100644
--- a/tools/perf/util/include/linux/compiler.h
+++ b/tools/perf/util/include/linux/compiler.h
@@ -10,5 +10,6 @@
#endif
#define __used __attribute__((__unused__))
+#define __packed __attribute__((__packed__))
#endif