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

eap-ttls: Fix build issue with missing _GNU_SOURCE

CC       src/eap-ttls.o
src/eap-ttls.c: In function ‘avp_builder_free’:
src/eap-ttls.c:159:17: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  159 |                 explicit_bzero(builder->buf, builder->pos);
      |                 ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 16:39:43 +01:00
parent fc55e93829
commit 13382cbb47

View File

@ -24,6 +24,7 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <string.h>
#include <stdio.h>
#include <errno.h>