From a81708cd9a7345fdb2977f406babc229e84aa82d Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Wed, 16 Oct 2019 09:57:14 +0900 Subject: [PATCH] Add the vconf definition if the key is not defined Change-Id: Ic73819068f57897632072b93e30af13672665401 Signed-off-by: DoHyun Pyun --- bt-api/bt-adapter.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bt-api/bt-adapter.c b/bt-api/bt-adapter.c index 51b0a1f..c391f75 100644 --- a/bt-api/bt-adapter.c +++ b/bt-api/bt-adapter.c @@ -24,6 +24,11 @@ #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; -- 2.7.4