提交 16df00f7 编写于 作者: X xionglei6

修改bug

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 7a8ccfc0
......@@ -156,6 +156,7 @@ ohos_unittest("init_ut") {
"STARTUP_INIT_TEST",
"PARAM_SUPPORT_SAVE_PERSIST",
"PARAM_SUPPORT_DAC",
"_GNU_SOURCE"
]
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
......
......@@ -24,7 +24,10 @@ if (defined(ohos_lite)) {
]
defines = [ "OHOS_LITE" ]
if (storage_type == "emmc") {
defines += [ "USE_EMMC_STORAGE" ]
defines += [
"USE_EMMC_STORAGE",
"_GNU_SOURCE",
]
}
include_dirs = [
......
......@@ -19,8 +19,6 @@
#include <string>
#include <sys/stat.h>
#include <sys/types.h>
#include <sched.h>
#include <stdio.h>
#include "cJSON.h"
#include "init_cmds.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册