Add the vconf definition if the key is not defined 85/215785/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 16 Oct 2019 00:57:14 +0000 (09:57 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 16 Oct 2019 00:57:50 +0000 (09:57 +0900)
Change-Id: Ic73819068f57897632072b93e30af13672665401
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-api/bt-adapter.c

index 51b0a1f..c391f75 100644 (file)
 #include "bt-request-sender.h"
 #include "bt-event-handler.h"
 
+/* Avoid the build error related to vconf.h's dependency */
+#ifndef VCONFKEY_BATTERY_MONITOR_STATUS
+#define VCONFKEY_BATTERY_MONITOR_STATUS "db/bluetooth/bmstatus"
+#endif
+
 static int __bt_fill_device_list(GArray *out_param2, GPtrArray **dev_list)
 {
        int i;