From 1406207e6798252fe7e89f288c0f4d5add1dd1bd Mon Sep 17 00:00:00 2001 From: Alessio Balsini Date: Sat, 11 May 2019 14:29:28 +0100 Subject: [PATCH] Looper: missing cinttypes when debugging poll/callbacks When enabling DEBUG_POLL_AND_WAKE or DEBUG_CALLBACKS, compiler complains for the undefined PRI* fprintf format constants. Fix by including the missing cinttypes. Test: m Bug: none Change-Id: I0a7b5b45bd274eefa9644cba491a8dc28f1992ff --- libutils/Looper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libutils/Looper.cpp b/libutils/Looper.cpp index 2d696eb1f..14e3e35c7 100644 --- a/libutils/Looper.cpp +++ b/libutils/Looper.cpp @@ -14,7 +14,9 @@ #define DEBUG_CALLBACKS 0 #include + #include +#include namespace android {