On Mon, Nov 28, 2022 at 02:04:19PM +0100, Benny Lønstrup Ammitzbøll wrote: > On 26.11.2022 11.14, Jouni Malinen wrote: > > This breaks the build with many existing systems since enum > > macsec_offload is not defined. In other words, this would need some kind > > of conditional build mechanism to try to include this only if the needed > > defines are available. > Since this is the driver code for linux MACsec I assume that those many > existing systems are older versions of linux from before the macsec_offload > was added. How do I check for this? The most convenient option would be to be able to do #ifdef on something new defined in the header file that defines these items. Alas, that might not be available. If there is no convenient automated mechanism for this, this might require a new wpa_supplicant/hostapd build option to add safely. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap