Просмотр исходного кода

Merge pull request #62 from shishirong/patch-1

fix identifier "EAGAIN" is undefined
xiangxistu 4 лет назад
Родитель
Сommit
8118179bc8
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/wiz_socket.c

+ 1 - 0
src/wiz_socket.c

@@ -12,6 +12,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <sys/time.h>
+#include <sys/errno.h>
 
 #include <rtthread.h>
 #ifdef SAL_USING_POSIX