aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/ordered-events.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2017-04-17 15:23:08 -0300
committerArnaldo Carvalho de Melo <[email protected]>2017-04-19 13:01:46 -0300
commitfd20e8111cc0e51ce12fb8ee17c863088fe95065 (patch)
treea1feb8094ea1c649a508f126b75cddd16e764eba /tools/perf/util/ordered-events.c
parentb640985fe40c7446fa5db467e747fbac5c081c86 (diff)
perf tools: Including missing inttypes.h header
Needed to use the PRI[xu](32,64) formatting macros. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/ordered-events.c')
-rw-r--r--tools/perf/util/ordered-events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/ordered-events.c b/tools/perf/util/ordered-events.c
index e70e935b1841..df05be69cc9e 100644
--- a/tools/perf/util/ordered-events.c
+++ b/tools/perf/util/ordered-events.c
@@ -1,3 +1,4 @@
+#include <inttypes.h>
#include <linux/list.h>
#include <linux/compiler.h>
#include <linux/string.h>