aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2019-09-01 13:16:43 (GMT)
committerJouni Malinen <j@w1.fi>2019-09-01 14:19:43 (GMT)
commitebee8232d3db0c75254cba5c1823bf4eb146daa6 (patch)
treeead224cfa3c9d755d73b52f3bca174f0a5834fd2
parentbf15b1559845ec5fb7e87c837292983cef3cd7e4 (diff)
downloadhostap-ebee8232d3db0c75254cba5c1823bf4eb146daa6.zip
hostap-ebee8232d3db0c75254cba5c1823bf4eb146daa6.tar.gz
hostap-ebee8232d3db0c75254cba5c1823bf4eb146daa6.tar.bz2
Do not try to include net/ethernet.h in MinGW/Windows builds
Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r--wpa_supplicant/ctrl_iface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index 8efc08d..abc5bb6 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -11,7 +11,9 @@
#include <netinet/ip.h>
#endif /* CONFIG_TESTING_OPTIONS */
+#if !defined(__CYGWIN__) && !defined(CONFIG_NATIVE_WINDOWS)
#include <net/ethernet.h>
+#endif
#include "utils/common.h"
#include "utils/eloop.h"
#include "utils/uuid.h"