Do not try to include net/ethernet.h in MinGW/Windows builds

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2019-09-01 16:16:43 +03:00
parent bf15b15598
commit ebee8232d3

View file

@ -11,7 +11,9 @@
#include <netinet/ip.h> #include <netinet/ip.h>
#endif /* CONFIG_TESTING_OPTIONS */ #endif /* CONFIG_TESTING_OPTIONS */
#if !defined(__CYGWIN__) && !defined(CONFIG_NATIVE_WINDOWS)
#include <net/ethernet.h> #include <net/ethernet.h>
#endif
#include "utils/common.h" #include "utils/common.h"
#include "utils/eloop.h" #include "utils/eloop.h"
#include "utils/uuid.h" #include "utils/uuid.h"