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/arpa/inet.h16
-rw-r--r--components/net/sal_socket/include/socket/sys_socket/sys/socket.h3
2 files changed, 3 insertions, 16 deletions
diff --git a/components/net/sal_socket/include/socket/arpa/inet.h b/components/net/sal_socket/include/socket/arpa/inet.h
deleted file mode 100644
index f477df5c23..0000000000
--- a/components/net/sal_socket/include/socket/arpa/inet.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- * 2015-02-17 Bernard First version
- */
-
-#ifndef INET_H__
-#define INET_H__
-
-#include <sal_ipaddr.h>
-
-#endif
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" {