mirror of https://github.com/wolfSSL/wolfssh.git
match lwip errno include from wolfSSL
parent
cfe2aafbf0
commit
3c0e45db59
2
src/io.c
2
src/io.c
|
|
@ -113,8 +113,8 @@ void* wolfSSH_GetIOWriteCtx(WOLFSSH* ssh)
|
|||
/* lwIP needs to be configured to use sockets API in this mode */
|
||||
/* LWIP_SOCKET 1 in lwip/opt.h or in build */
|
||||
#include "lwip/sockets.h"
|
||||
#include <errno.h>
|
||||
#ifndef LWIP_PROVIDE_ERRNO
|
||||
#include <errno.h>
|
||||
#define LWIP_PROVIDE_ERRNO 1
|
||||
#endif
|
||||
#elif defined(FREESCALE_MQX)
|
||||
|
|
|
|||
Loading…
Reference in New Issue