Make USE_HOST compilable on msys2 (#6359)

This commit is contained in:
M-A 2024-03-12 16:22:28 -04:00 committed by GitHub
parent f264151537
commit d3a028f7fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,9 +12,11 @@
#include <cstring> #include <cstring>
#ifdef USE_HOST #ifdef USE_HOST
#ifndef _WIN32
#include <net/if.h> #include <net/if.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif
#include <unistd.h> #include <unistd.h>
#endif #endif
#if defined(USE_ESP8266) #if defined(USE_ESP8266)