]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libubootenv: backport patch to fix unknown type name 'size_t' stable/kirkstone-nut
authorYoungseok Jeong <youngseok1.jeong@lge.com>
Tue, 19 Aug 2025 07:43:10 +0000 (16:43 +0900)
committerSteve Sakoman <steve@sakoman.com>
Tue, 19 Aug 2025 17:14:55 +0000 (10:14 -0700)
commite401a16d8e26d25cec95fcea98d6530036cffca1
tree78f158bd6130422d856d38334076d134dbbff79a
parent8c69793deb78cf9718801825477938c22e229eca
libubootenv: backport patch to fix unknown type name 'size_t'

Fix:
../recipe-sysroot/usr/include/libuboot.h:29:2: error: unknown type name 'size_t'
size_t          envsize;
^

This error can be avoided by using CXXFLAGS:append = " -include cstddef"
but this way would be needed in all recipes that use libuboot.h.
Therefore, Backport the patch to include <cstddef> in C++ builds.

Signed-off-by: Youngseok Jeong <youngseok1.jeong@lge.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-bsp/u-boot/files/0001-Include-cstddef-in-the-header-for-C.patch [new file with mode: 0644]
meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb