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

simutil: Fix build issue with missing _GNU_SOURCE

CC       src/simutil.o
src/simutil.c: In function ‘eap_aka_derive_primes’:
src/simutil.c:168:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  168 |         explicit_bzero(key, sizeof(key));
      |         ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 16:49:15 +01:00
parent 3f130f7f34
commit 67ae0ac8b1

View File

@ -24,9 +24,11 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <ell/ell.h>
#include "src/missing.h"