From 3c0e45db5976100e66e66f86ff26576dfcf8b3d1 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Mon, 22 Apr 2019 17:12:44 -0600 Subject: [PATCH] match lwip errno include from wolfSSL --- src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.c b/src/io.c index 24ef4f5a..a53d1b85 100644 --- a/src/io.c +++ b/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 #ifndef LWIP_PROVIDE_ERRNO + #include #define LWIP_PROVIDE_ERRNO 1 #endif #elif defined(FREESCALE_MQX)