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

eap-wsc: Fix build issue with missing _GNU_SOURCE

CC       src/eap-wsc.o
src/eap-wsc.c: In function ‘encrypted_settings_decrypt’:
src/eap-wsc.c:258:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  258 |         explicit_bzero(decrypted, encrypted_len);
      |         ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 16:34:52 +01:00
parent 1c7933296b
commit f6bcb01d40

View File

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