mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
Make USE_HOST compilable on msys2 (#6359)
This commit is contained in:
parent
f264151537
commit
d3a028f7fa
1 changed files with 2 additions and 0 deletions
|
@ -12,9 +12,11 @@
|
|||
#include <cstring>
|
||||
|
||||
#ifdef USE_HOST
|
||||
#ifndef _WIN32
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#if defined(USE_ESP8266)
|
||||
|
|
Loading…
Reference in a new issue