adapter: Remove indirect dependency of headers
authorMiao-chen Chou <mcchou@chromium.org>
Sat, 12 Sep 2020 06:49:59 +0000 (23:49 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:32 +0000 (19:08 +0530)
Given that adapter.h refers symbols from lib/bluetooth.h and lib/sdp.h,
these two headers should be included directly in adapter.h.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/adapter.h

index f4b2393..a5e428a 100644 (file)
@@ -25,6 +25,8 @@
 #include <stdbool.h>
 #include <dbus/dbus.h>
 #include <glib.h>
+#include <lib/bluetooth.h>
+#include <lib/sdp.h>
 #ifdef TIZEN_FEATURE_BLUEZ_MODIFY
 #include <bluetooth/bluetooth.h>
 #include <bluetooth/sdp.h>