From 6dbb040890bc80f3469c2976e0fc866354765bed Mon Sep 17 00:00:00 2001 From: Piyush Shah Date: Wed, 14 Feb 2018 19:27:02 +0530 Subject: [PATCH] FD_ZERO: Fix a compilation warning Definition of memset is not found if string.h is not included anywhere Signed-off-by: Piyush Shah --- components/lwip/include/lwip/lwip/sockets.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/lwip/include/lwip/lwip/sockets.h b/components/lwip/include/lwip/lwip/sockets.h index 4dd013bcf..d8e4c7ffb 100755 --- a/components/lwip/include/lwip/lwip/sockets.h +++ b/components/lwip/include/lwip/lwip/sockets.h @@ -39,6 +39,7 @@ #if LWIP_SOCKET /* don't build if not configured for use in lwipopts.h */ #include /* for size_t */ +#include /* for FD_ZERO */ #include "lwip/ip_addr.h" #include "lwip/err.h"