diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/tests/attr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/tests/attr.c b/tools/perf/tests/attr.c index f61dd3fb546b..bdcceb886f77 100644 --- a/tools/perf/tests/attr.c +++ b/tools/perf/tests/attr.c | |||
@@ -19,6 +19,11 @@ | |||
19 | * permissions. All the event text files are stored there. | 19 | * permissions. All the event text files are stored there. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | /* | ||
23 | * Powerpc needs __SANE_USERSPACE_TYPES__ before <linux/types.h> to select | ||
24 | * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu. | ||
25 | */ | ||
26 | #define __SANE_USERSPACE_TYPES__ | ||
22 | #include <stdlib.h> | 27 | #include <stdlib.h> |
23 | #include <stdio.h> | 28 | #include <stdio.h> |
24 | #include <inttypes.h> | 29 | #include <inttypes.h> |