diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2024-09-27 18:45:38 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 14:02:46 +0100 |
| commit | 2bd8303a2391d30faa0bb0e1f6a0f60f795dd396 (patch) | |
| tree | e971ac928df5483390fb571a43d3bfe7af947d24 /tools/include | |
| parent | 88232a223ae4781d6b571be933049534588d98da (diff) | |
| download | linux-2bd8303a2391d30faa0bb0e1f6a0f60f795dd396.tar.gz linux-2bd8303a2391d30faa0bb0e1f6a0f60f795dd396.tar.bz2 linux-2bd8303a2391d30faa0bb0e1f6a0f60f795dd396.zip | |
tools/nolibc: s390: include std.h
commit 711b5875814b2a0e9a5aaf7a85ba7c80f5a389b1 upstream.
arch-s390.h uses types from std.h, but does not include it.
Depending on the inclusion order the compilation can fail.
Include std.h explicitly to avoid these errors.
Fixes: 404fa87c0eaf ("tools/nolibc: s390: provide custom implementation for sys_fork")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://lore.kernel.org/r/20240927-nolibc-s390-std-h-v1-1-30442339a6b9@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/include')
| -rw-r--r-- | tools/include/nolibc/arch-s390.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/nolibc/arch-s390.h b/tools/include/nolibc/arch-s390.h index 2ec13d8b9a2d..f9ab83a219b8 100644 --- a/tools/include/nolibc/arch-s390.h +++ b/tools/include/nolibc/arch-s390.h @@ -10,6 +10,7 @@ #include "compiler.h" #include "crt.h" +#include "std.h" /* Syscalls for s390: * - registers are 64-bit |
