On Tue, Mar 14, 2023 at 10:17:19PM +0100, Nick Hainke wrote: > If IEEE8021X_EAPOL is not defined wpa_supplicant will not compile with > following error: > > events.c: In function 'wpa_supplicant_connect': > events.c:1827:14: warning: implicit declaration of function 'eap_is_wps_pbc_enrollee' [-Wimplicit-function-declaration] > 1827 | if ((eap_is_wps_pbc_enrollee(&ssid->eap) && > | ^~~~~~~~~~~~~~~~~~~~~~~ > events.c:1827:43: error: 'struct wpa_ssid' has no member named 'eap' > 1827 | if ((eap_is_wps_pbc_enrollee(&ssid->eap) && > | ^~ > > Adding ifdef statements around the calling function fixes the issue. Thanks, applied. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap