fix(lwip): fix lacking of gcc header file declare when enable VFS

This commit is contained in:
Dong Heng
2019-11-06 15:51:59 +08:00
parent efd0a545ac
commit 4a10752bfa

View File

@@ -57,6 +57,10 @@
#include "lwip/inet.h"
#endif /* PING_USE_SOCKETS */
#ifdef CONFIG_USING_ESP_VFS
#include <unistd.h>
#endif
#ifdef ESP_PING
#include "esp_ping.h"
#include "lwip/ip_addr.h"