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

eap-aka: Fix build issue with missing _GNU_SOURCE

CC       src/eap-aka.o
src/eap-aka.c: In function ‘eap_aka_clear_secrets’:
src/eap-aka.c:114:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  114 |         explicit_bzero(aka->mk, sizeof(aka->mk));
      |         ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 16:43:44 +01:00
parent 5a08930507
commit e93b1566ef

View File

@ -24,9 +24,11 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <ell/ell.h>
#include "src/missing.h"