| util/cs-etm.c:1264:40: error: expected '}' before 'PRIx64'
|    [CS_ETM_MAGIC] = "   Magic number  %"PRIx64"\n",
        |                                         ^~~~~~

Signed-off-by: Quanyang Wang <[email protected]>
Signed-off-by: Daniel Dragomir <[email protected]>
---
 tools/perf/util/cs-etm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c
index d48b9a4..d34d7d5 100644
--- a/tools/perf/util/cs-etm.c
+++ b/tools/perf/util/cs-etm.c
@@ -37,6 +37,7 @@
 #include "debug.h"
 
 #include <stdlib.h>
+#include <inttypes.h>
 
 #define KiB(x) ((x) * 1024)
 #define MiB(x) ((x) * 1024 * 1024)
-- 
2.7.4

-- 
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to