diff --git a/components/net/netdev/src/netdev.c b/components/net/netdev/src/netdev.c index f121f52c1946c791c90c620b5e4825708aa3e860..2a87e91cb053732431b6766ad4cfcc0401096653 100644 --- a/components/net/netdev/src/netdev.c +++ b/components/net/netdev/src/netdev.c @@ -20,7 +20,7 @@ #ifdef RT_USING_SAL #include -#include +#include #endif /* RT_USING_SAL */ #define DBG_TAG "netdev" diff --git a/components/net/sal/impl/af_inet_at.c b/components/net/sal/impl/af_inet_at.c index 07dff0018c5f7ac83ba289ec463740018b1001b2..e5cc8720f6f80937339e951aaba831d2b5455351 100644 --- a/components/net/sal/impl/af_inet_at.c +++ b/components/net/sal/impl/af_inet_at.c @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include diff --git a/components/net/sal/impl/af_inet_lwip.c b/components/net/sal/impl/af_inet_lwip.c index 2cf0958ee48b54fa9b2ef58c3f3af5f910993dc8..e99da3117ad9f377a8dcc7fd2c74f099ab89a8e8 100644 --- a/components/net/sal/impl/af_inet_lwip.c +++ b/components/net/sal/impl/af_inet_lwip.c @@ -20,7 +20,7 @@ #include #endif -#include +#include #include #include diff --git a/components/net/sal/impl/proto_mbedtls.c b/components/net/sal/impl/proto_mbedtls.c index 338792c948c7bfa05a869cdcb5b7e54e59b51408..4ae9f26328161b08e8e47a3af102f68d0718329d 100644 --- a/components/net/sal/impl/proto_mbedtls.c +++ b/components/net/sal/impl/proto_mbedtls.c @@ -20,7 +20,7 @@ #include #endif #include -#include +#include #include diff --git a/components/net/sal/include/sal.h b/components/net/sal/include/sal_low_lvl.h similarity index 94% rename from components/net/sal/include/sal.h rename to components/net/sal/include/sal_low_lvl.h index dd250e37b6adf795f85260af4da9c311a5e87b71..95f984cca8796e5d0f5481de1e27f13d77b3d027 100644 --- a/components/net/sal/include/sal.h +++ b/components/net/sal/include/sal_low_lvl.h @@ -6,10 +6,12 @@ * Change Logs: * Date Author Notes * 2018-05-17 ChenYong First version + * 2022-05-15 Meco Man rename sal.h as sal_low_lvl.h to avoid conflicts + * with Microsoft Visual Studio header file */ -#ifndef SAL_H__ -#define SAL_H__ +#ifndef SAL_LOW_LEVEL_H__ +#define SAL_LOW_LEVEL_H__ #include diff --git a/components/net/sal/src/sal_socket.c b/components/net/sal/src/sal_socket.c index 8f4ac915eb6d53fbf3420425418c86797a938236..2ed8e69e798e6963485dfe42f1eb78cd9348ec3f 100644 --- a/components/net/sal/src/sal_socket.c +++ b/components/net/sal/src/sal_socket.c @@ -18,7 +18,7 @@ #ifdef SAL_USING_TLS #include #endif -#include +#include #include #ifdef SAL_INTERNET_CHECK diff --git a/documentation/sal/sal.md b/documentation/sal/sal.md index 98af88554145db56b8a3e475be368144de1cabaf..e4a9a58e74a02ce162f3c258d02d47de920e92f9 100644 --- a/documentation/sal/sal.md +++ b/documentation/sal/sal.md @@ -719,7 +719,7 @@ The following is the access registration process implemented by AT Socket networ ```c #include #include -#include /* SAL component structure holds the header file */ +#include /* SAL component structure holds the header file */ #include /* AT Socket related header file */ #include