mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 05:04:33 +02:00
FD_ZERO: Fix a compilation warning
Definition of memset is not found if string.h is not included anywhere Signed-off-by: Piyush Shah <piyush@espressif.com>
This commit is contained in:
@@ -39,6 +39,7 @@
|
|||||||
#if LWIP_SOCKET /* don't build if not configured for use in lwipopts.h */
|
#if LWIP_SOCKET /* don't build if not configured for use in lwipopts.h */
|
||||||
|
|
||||||
#include <stddef.h> /* for size_t */
|
#include <stddef.h> /* for size_t */
|
||||||
|
#include <string.h> /* for FD_ZERO */
|
||||||
|
|
||||||
#include "lwip/ip_addr.h"
|
#include "lwip/ip_addr.h"
|
||||||
#include "lwip/err.h"
|
#include "lwip/err.h"
|
||||||
|
Reference in New Issue
Block a user