
30 May
2023
30 May
'23
5:39 p.m.
From: Emanuele Ghidoli emanuele.ghidoli@toradex.com
Build fail due to ENOSYS undeclared if CONFIG_SANDBOX_SDL is not defined. Include errno.h before including test/lib.h.
Fixes: 3080ddf970b1 ("test: unit test for crc8") Signed-off-by: Emanuele Ghidoli emanuele.ghidoli@toradex.com --- test/lib/test_crc8.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/test/lib/test_crc8.c b/test/lib/test_crc8.c index 0dac97bc5bfd..5037db806d09 100644 --- a/test/lib/test_crc8.c +++ b/test/lib/test_crc8.c @@ -5,6 +5,7 @@ * Unit test for crc8 */
+#include <errno.h> #include <test/lib.h> #include <test/ut.h> #include <u-boot/crc.h>
--
2.34.1