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

dpp: Fix build issue with missing _GNU_SOURCE

CC       src/dpp.o
src/dpp.c: In function ‘dpp_reset’:
src/dpp.c:536:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  536 |         explicit_bzero(dpp->r_nonce, dpp->nonce_len);
      |         ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 16:35:49 +01:00
parent f6bcb01d40
commit 8a46eca3f7

View File

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