From: Fabrice Fontaine <fontaine.fabrice at gmail.com>
To: iwd at lists.01.org
Subject: [PATCH] src/storage.c: fix build with uclibc
Date: Fri, 25 Mar 2022 22:00:17 +0100 [thread overview]
Message-ID: <20220325210017.525876-1-fontaine.fabrice@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 964 bytes --]
explicit_bzero is used in src/storage.c since commit
01cd8587606bf2da1af245163150589834126c1c 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
Signed-off-by: Fabrice Fontaine <fontaine.fabrice(a)gmail.com>
---
src/storage.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/storage.c b/src/storage.c
index 82a72443..aa8066b1 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -44,6 +44,7 @@
#include <ell/ell.h>
#include "ell/useful.h"
+#include "src/missing.h"
#include "src/common.h"
#include "src/storage.h"
#include "src/crypto.h"
--
2.35.1
next reply other threads:[~2022-03-25 21:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-25 21:00 Fabrice Fontaine [this message]
2022-03-28 17:40 [PATCH] src/storage.c: fix build with uclibc Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220325210017.525876-1-fontaine.fabrice@gmail.com \
--to=unknown@example.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.