summaryrefslogtreecommitdiff
path: root/components/net/sal_socket/include/socket
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/sal_socket/include/socket')
-rw-r--r--components/net/sal_socket/include/socket/sys_socket/sys/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/net/sal_socket/include/socket/sys_socket/sys/socket.h b/components/net/sal_socket/include/socket/sys_socket/sys/socket.h
index dd2c3850a6..04470aa84a 100644
--- a/components/net/sal_socket/include/socket/sys_socket/sys/socket.h
+++ b/components/net/sal_socket/include/socket/sys_socket/sys/socket.h
@@ -14,6 +14,9 @@
#include <rtthread.h>
#include <sal_socket.h>
+#ifdef SAL_USING_TLS
+#include <sal_tls.h>
+#endif
#ifdef __cplusplus
extern "C" {