diff mbox series

[v2,10/30] sandbox: Include errno.h in the test header

Message ID 20230430013003.1047454-11-sjg@chromium.org
State Changes Requested
Delegated to: Tom Rini
Headers show
Series Allow building sandbox with MSYS2 | expand

Commit Message

Simon Glass April 30, 2023, 1:29 a.m. UTC
Add this so that the header file can used without first including the
errno.h header.

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

(no changes since v1)

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

Comments

Bin Meng May 1, 2023, 4:22 a.m. UTC | #1
On Sun, Apr 30, 2023 at 9:30 AM Simon Glass <sjg@chromium.org> wrote:
>
> Add this so that the header file can used without first including the
> errno.h header.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> (no changes since v1)
>
>  arch/sandbox/include/asm/test.h | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <bmeng@tinylab.org>
diff mbox series

Patch

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>