区荣杰 4 лет назад
Родитель
Сommit
9281dde2dd
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      porting/npl/rtthread/include/nimble/nimble_npl_os.h

+ 2 - 1
porting/npl/rtthread/include/nimble/nimble_npl_os.h

@@ -3,6 +3,7 @@
  *
  * Date           Author       Notes
  * 2018-12-18     ZeroFree     first implementation
+ * 2021-08-18     WaterFishJ   fix the include file name
  */
 
 #ifndef _NIMBLE_NPL_OS_H_
@@ -13,7 +14,7 @@
 #include <string.h>
 
 /* errno definitions for RT-Thread libc*/
-#include "libc/libc_errno.h"
+#include "errno.h"
 
 // TODO: _Static_assert support
 #ifndef _Static_assert