match lwip errno include from wolfSSL

pull/156/head
Jacob Barthelmeh 2019-04-22 17:12:44 -06:00
parent cfe2aafbf0
commit 3c0e45db59
1 changed files with 1 additions and 1 deletions

View File

@ -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)