diff --git a/adb/Android.mk b/adb/Android.mk index 6d18d2657..e5bc539c5 100644 --- a/adb/Android.mk +++ b/adb/Android.mk @@ -22,8 +22,8 @@ LIBADB_SRC_FILES := \ transport.c \ transport_usb.c \ -LIBADB_C_FLAGS := \ - -Wall -Werror \ +LIBADB_CFLAGS := \ + -Wall -Werror -Wno-unused-parameter \ -D_XOPEN_SOURCE -D_GNU_SOURCE \ -fvisibility=hidden \ diff --git a/adb/adb_listeners.c b/adb/adb_listeners.c index 76a03ebff..699f3f5fe 100644 --- a/adb/adb_listeners.c +++ b/adb/adb_listeners.c @@ -16,6 +16,8 @@ #include "adb_listeners.h" +#include + #include "sysdeps.h" int gListenAll = 0; /* Not static because it is used in commandline.c. */