@@ -20,7 +20,7 @@
#ifdef RT_USING_SAL
#include <sal_netdb.h>
-#include <sal.h>
+#include <sal_low_lvl.h>
#endif /* RT_USING_SAL */
#define DBG_TAG "netdev"
@@ -11,7 +11,7 @@
#include <rtthread.h>
#include <netdb.h>
#include <at_socket.h>
#include <af_inet.h>
#include <poll.h>
#endif
#include <netdev.h>
#include <sal_tls.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 <rtdevice.h>
@@ -18,7 +18,7 @@
#ifdef SAL_USING_TLS
#ifdef SAL_INTERNET_CHECK
@@ -719,7 +719,7 @@ The following is the access registration process implemented by AT Socket networ
```c
-#include <sal.h> /* SAL component structure holds the header file */
+#include <sal_low_lvl.h> /* SAL component structure holds the header file */
#include <at_socket.h> /* AT Socket related header file */