Explorar o código

解决at_socket编译失败的问题

失败现象为“找不到EAGAIN”,此问题由libc改动引发。
wenbodong2015 %!s(int64=3) %!d(string=hai) anos
pai
achega
e38a8e9378
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      components/net/at/at_socket/at_socket.c

+ 1 - 0
components/net/at/at_socket/at_socket.c

@@ -13,6 +13,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <sys/time.h>
+#include <sys/errno.h>
 
 #include <at_socket.h>
 #include <at_device.h>