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

wsc: Fix build issue with missing _GNU_SOURCE

CC       src/wsc.o
src/wsc.c: In function ‘wsc_enrollee_credential_obtained’:
src/wsc.c:211:25: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  211 |                         explicit_bzero(decoded, 32);
      |                         ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 09:10:35 +01:00
parent 6f1b31d62d
commit 02ee2df952

View File

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