fix(mini): fix compile error in mini liteos_a

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I9ab63796e5d47ac44d24807f1ebd0bbfe46681bf
This commit is contained in:
Caoruihong 2021-08-10 23:59:34 +08:00
parent cdf96fef0c
commit e13cb3bcc4
1 changed files with 3 additions and 0 deletions

View File

@ -170,6 +170,9 @@ int getrlimit(int resource, struct rlimit *rlim)
}
#define FSIZE_RLIMIT 0XFFFFFFFF
#ifndef NR_OPEN_DEFAULT
#define NR_OPEN_DEFAULT 1024
#endif
int setrlimit(int resource, const struct rlimit *rlim)
{
LosProcessCB *pcb = OsCurrProcessGet();