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

ap: Fix build issue with missing _GNU_SOURCE

CC       src/ap.o
src/ap.c: In function ‘ap_reset’:
src/ap.c:286:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  286 |         explicit_bzero(ap->passphrase, sizeof(ap->passphrase));
      |         ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 09:14:26 +01:00
parent 2170b91834
commit 534a41c073

View File

@ -24,6 +24,7 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <errno.h>
#include <linux/if_ether.h>
#include <netinet/in.h>