3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-20 04:19:25 +01:00

storage: fix build with uclibc

explicit_bzero is used in src/storage.c since commit
01cd858760 but src/missing.h is not
included, as a result build with uclibc fails on:

/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: src/storage.o: in function `storage_init':
storage.c:(.text+0x13a4): undefined reference to `explicit_bzero'

Fixes:
 - http://autobuild.buildroot.org/results/2aff8d3d7c33c95e2c57f7c8a71e69939f0580a1
This commit is contained in:
Fabrice Fontaine 2022-03-25 22:00:17 +01:00 committed by Denis Kenzior
parent cc9f8d7489
commit d78950e039

View File

@ -44,6 +44,7 @@
#include <ell/ell.h> #include <ell/ell.h>
#include "ell/useful.h" #include "ell/useful.h"
#include "src/missing.h"
#include "src/common.h" #include "src/common.h"
#include "src/storage.h" #include "src/storage.h"
#include "src/crypto.h" #include "src/crypto.h"