[Buildroot] [PATCH] lxc: fix offsetof() related musl build issue

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Apr 21 12:59:07 UTC 2018


Hello,

On Fri, 20 Apr 2018 12:31:55 +0200, Thomas Petazzoni wrote:
> This commit adds a patch that fixes a build issue with musl due to the
> fact that offsetof() is used without including <stddef.h>.
> 
> Fixes:
> 
>   http://autobuild.buildroot.net/results/3c6e34cbcd43aba4dd2b18687bd89fc369c9dab7/
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> ---
>  ...ools-lxc_monitor-include-missing-stddef.h.patch | 40 ++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
>  create mode 100644 package/lxc/0001-lxc-tools-lxc_monitor-include-missing-stddef.h.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list