From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/client/if-gatt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/client/if-gatt.c b/android/client/if-gatt.c index 6a09012..5f0eb1c 100644 --- a/android/client/if-gatt.c +++ b/android/client/if-gatt.c @@ -928,7 +928,9 @@ static void unregister_client_p(int argc, const char **argv) static void scan_p(int argc, const char **argv) { +#if ANDROID_VERSION < PLATFORM_VER(5, 0, 0) int client_if; +#endif int start = 1; RETURN_IF_NULL(if_gatt); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html