diff --git a/external/bsd/wpa/dist/src/drivers/driver_bsd.c b/external/bsd/wpa/dist/src/drivers/driver_bsd.c index fdf91c51458d..2c9e449b9acb 100644 --- a/external/bsd/wpa/dist/src/drivers/driver_bsd.c +++ b/external/bsd/wpa/dist/src/drivers/driver_bsd.c @@ -626,6 +626,9 @@ bsd_get_seqnum(const char *ifname, void *priv, const u8 *addr, int idx, } #ifdef WORDS_BIGENDIAN +#ifndef WPA_KEY_RSC_LEN +#define WPA_KEY_RSC_LEN 8 +#endif { /* * wk.ik_keytsc is in host byte order (big endian), need to