Skip to content

Commit 6dbb040

Browse files
committed
FD_ZERO: Fix a compilation warning
Definition of memset is not found if string.h is not included anywhere Signed-off-by: Piyush Shah <[email protected]>
1 parent 7d13e3f commit 6dbb040

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/lwip/include/lwip/lwip/sockets.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
#if LWIP_SOCKET /* don't build if not configured for use in lwipopts.h */
4040

4141
#include <stddef.h> /* for size_t */
42+
#include <string.h> /* for FD_ZERO */
4243

4344
#include "lwip/ip_addr.h"
4445
#include "lwip/err.h"

0 commit comments

Comments
 (0)