From 91994a706915db4cee4e4df47b81d542ad39a9ad Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Fri, 13 Feb 2015 20:16:14 +0100 Subject: [PATCH] tools/btmgmt: Fix compilation warning on Android isspace requires ctype.h include. external/bluetooth/bluez/tools/btmgmt.c: In function 'get_input': external/bluetooth/bluez/tools/btmgmt.c:834:2: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] while (len && isspace(buf[len - 1])) ^ --- tools/btmgmt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/btmgmt.c b/tools/btmgmt.c index 75f64c298..7cf82e239 100644 --- a/tools/btmgmt.c +++ b/tools/btmgmt.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include -- 2.47.3