From 8d1484b5622cef1f80739b1bf4098a2bd2c6ca1e Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 30 May 2022 06:25:24 +0800 Subject: [PATCH] system/libuv: Include nuttx/tls.h to call task local storage api Signed-off-by: Xiang Xiao --- system/libuv/0001-libuv-port-for-nuttx.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/libuv/0001-libuv-port-for-nuttx.patch b/system/libuv/0001-libuv-port-for-nuttx.patch index fda609a86..224dd366e 100644 --- a/system/libuv/0001-libuv-port-for-nuttx.patch +++ b/system/libuv/0001-libuv-port-for-nuttx.patch @@ -261,7 +261,7 @@ new file mode 100644 index 00000000..728b57f6 --- /dev/null +++ b/src/unix/nuttx.c -@@ -0,0 +1,284 @@ +@@ -0,0 +1,286 @@ +/* Copyright Xiaomi, Inc. and other Node contributors. All rights reserved. + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to @@ -298,6 +298,8 @@ index 00000000..728b57f6 +#include +#include + ++#include ++ +int uv_exepath(char* buffer, size_t* size) { + return UV_ENOTSUP; +}