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

network: Fix build issue with missing _GNU_SOURCE

CC       src/network.o
src/network.c: In function ‘network_reset_psk’:
src/network.c:114:17: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  114 |                 explicit_bzero(network->psk, 32);
      |                 ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 09:09:40 +01:00
parent 1cef23cd7b
commit 6f1b31d62d

View File

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