fix: 修复shcmd.h需要用宏包起来的问题

【背景】
api_shell.c中使用了头文件shcmd.h,没有用宏包起来
[ERR] :#include<shcmd.h>:45

【修改方案】
删去包含的头文件shcmd.h,代码中没有用到该头文件中的内容
为能够顺利编译过,添加了头文件<sys/time.h>

【影响】
对现有的产品编译不会有影响。

re #I45FU2

Change-Id: I1727515883adcca1e9aaa25fc46ef1fee11fa1a9
Signed-off-by: yinjiaming <yinjiaming@huawei.com>
This commit is contained in:
yinjiaming 2021-10-18 08:37:20 +00:00
parent 68a3f9e6dd
commit a7a8a62bcb
1 changed files with 1 additions and 3 deletions

View File

@ -41,9 +41,7 @@
#include "lwip/icmp.h"
#include "los_config.h"
#include <string.h>
#include "shcmd.h"
#include "shell.h"
#include <time.h>
#include "los_debug.h"
#include "los_task.h"