You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2021/05/20 08:39:23 UTC
[mynewt-nimble] branch master updated: nuttx: fix error: use of
undeclared identifier 'ENOMEM'
This is an automated email from the ASF dual-hosted git repository.
andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new cd8ab38 nuttx: fix error: use of undeclared identifier 'ENOMEM'
cd8ab38 is described below
commit cd8ab38c3da91b71dd428979153a408f38d3b02e
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Thu May 20 15:43:50 2021 +0800
nuttx: fix error: use of undeclared identifier 'ENOMEM'
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
porting/npl/nuttx/src/os_task.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/porting/npl/nuttx/src/os_task.c b/porting/npl/nuttx/src/os_task.c
index ab535a3..40f8c8c 100644
--- a/porting/npl/nuttx/src/os_task.c
+++ b/porting/npl/nuttx/src/os_task.c
@@ -18,6 +18,8 @@
*/
#include <nuttx/config.h>
+#include <errno.h>
+
#include "os/os.h"
#include "nimble/nimble_npl.h"