[PATCH 16/31] sandbox: Include errno.h in the test header

Simon Glass sjg at chromium.org
Tue Apr 25 01:08:21 CEST 2023


Add this so that the header file can used without first including the
errno.h header.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/sandbox/include/asm/test.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/sandbox/include/asm/test.h b/arch/sandbox/include/asm/test.h
index e482271fe975..86968ea6d345 100644
--- a/arch/sandbox/include/asm/test.h
+++ b/arch/sandbox/include/asm/test.h
@@ -8,6 +8,7 @@
 #ifndef __ASM_TEST_H
 #define __ASM_TEST_H
 
+#include <errno.h>
 #include <video.h>
 #include <pci_ids.h>
 
-- 
2.40.0.634.g4ca3ef3211-goog



More information about the U-Boot mailing list