summaryrefslogtreecommitdiff
path: root/src/adapter.h
diff options
context:
space:
mode:
authorMiao-chen Chou <mcchou@chromium.org>2020-09-11 23:49:59 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-09-14 12:34:23 -0700
commit1a515e154e524010cfa5a56f1be13bdab3009024 (patch)
tree0ac32b6c9c530dd670d74ad012fa6b306e2f038c /src/adapter.h
parentb7f310a62c1cd2e2d0841375fb7ff914a0767d03 (diff)
downloadbluez-1a515e154e524010cfa5a56f1be13bdab3009024.tar.gz
adapter: Remove indirect dependency of headers
Given that adapter.h refers symbols from lib/bluetooth.h and lib/sdp.h, these two headers should be included directly in adapter.h.
Diffstat (limited to 'src/adapter.h')
-rw-r--r--src/adapter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/adapter.h b/src/adapter.h
index f8ac20261..c70a7b0da 100644
--- a/src/adapter.h
+++ b/src/adapter.h
@@ -26,6 +26,9 @@
#include <dbus/dbus.h>
#include <glib.h>
+#include <lib/bluetooth.h>
+#include <lib/sdp.h>
+
#define MAX_NAME_LENGTH 248
/* Invalid SSP passkey value used to indicate negative replies */