From: Jouni Malinen Date: Sun, 1 Sep 2019 13:16:43 +0000 (+0300) Subject: Do not try to include net/ethernet.h in MinGW/Windows builds X-Git-Tag: hostap_2_10~2394 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ebee8232d3db0c75254cba5c1823bf4eb146daa6;p=thirdparty%2Fhostap.git Do not try to include net/ethernet.h in MinGW/Windows builds Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 8efc08d4d..abc5bb634 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -11,7 +11,9 @@ #include #endif /* CONFIG_TESTING_OPTIONS */ +#if !defined(__CYGWIN__) && !defined(CONFIG_NATIVE_WINDOWS) #include +#endif #include "utils/common.h" #include "utils/eloop.h" #include "utils/uuid.h"