Fix mbtk_logd for mbtk_debug.
Change-Id: I30503a9fe4ba1a603463ab560c68b98d1c51ccdf
diff --git a/mbtk/mbtk_logd/Makefile b/mbtk/mbtk_logd/Makefile
index 779766b..2ef7531 100755
--- a/mbtk/mbtk_logd/Makefile
+++ b/mbtk/mbtk_logd/Makefile
@@ -4,10 +4,10 @@
LOCAL_PATH=$(BUILD_ROOT)/mbtk_logd
INC_DIR += -I$(BUILD_ROOT)
-
+
LIB_DIR +=
-LIBS += -lubus -lubox -ljson-c -lblobmsg_json
+LIBS += -lubus -lubox -ljson-c -lblobmsg_json -lmbtk_lib
CFLAGS +=
@@ -37,4 +37,4 @@
$(CC) $(CFLAGS) $(LOCAL_SRC_FILES) -o $@ $(DEFINE) $(INC_DIR) $(LIB_DIR) $(LIBS)
clean:
-
+
diff --git a/mbtk/mbtk_logd/main.c b/mbtk/mbtk_logd/main.c
index 9034d57..7925381 100755
--- a/mbtk/mbtk_logd/main.c
+++ b/mbtk/mbtk_logd/main.c
@@ -14,6 +14,7 @@
#include "json-c/printbuf.h"
#include "log_config.h"
+#include "mbtk_type.h"
//#define DEBUG 1
#ifdef DEBUG
@@ -284,7 +285,7 @@
}
}
-
+
for (i = 0; i < 5; ++i) {
if (NULL == listdata[i].name) {
break;