3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2026-02-11 06:58:04 +01:00

eapol: Fix build issue with missing _GNU_SOURCE

CC       src/eapol.o
src/eapol.c: In function ‘eapol_decrypt_key_data’:
src/eapol.c:314:17: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  314 |                 explicit_bzero(key, sizeof(key));
      |                 ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 09:07:52 +01:00
parent f92c6cf0cf
commit a5a67b5de4

View File

@ -24,6 +24,7 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <string.h>
#include <alloca.h>
#include <linux/if_ether.h>