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

erp: Fix build issue with missing _GNU_SOURCE

CC       src/erp.o
src/erp.c: In function ‘erp_free’:
src/erp.c:357:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  357 |         explicit_bzero(erp->rmsk, sizeof(erp->rmsk));
      |         ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 09:15:38 +01:00
parent 534a41c073
commit b1bcc47ffe

View File

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