This is internal header and dependencies should be included in respective .c files. --- android/adapter.c | 1 + android/adapter.h | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/android/adapter.c b/android/adapter.c index 69b3695..a84aaf8 100644 --- a/android/adapter.c +++ b/android/adapter.c @@ -26,6 +26,7 @@ #endif #include <errno.h> +#include <stdlib.h> #include <glib.h> diff --git a/android/adapter.h b/android/adapter.h index 08f4f48..c62b859 100644 --- a/android/adapter.h +++ b/android/adapter.h @@ -21,12 +21,6 @@ * */ -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> - -#include "lib/bluetooth.h" - typedef void (*bt_adapter_ready)(int err); void bt_adapter_init(uint16_t index, struct mgmt *mgmt_if, -- 1.8.4.2 -- 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