Skip to content

Commit 711b587

Browse files
committed
tools/nolibc: s390: include std.h
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: 404fa87 ("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>
1 parent 9852d85 commit 711b587

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/include/nolibc/arch-s390.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#include "compiler.h"
1212
#include "crt.h"
13+
#include "std.h"
1314

1415
/* Syscalls for s390:
1516
* - registers are 64-bit

0 commit comments

Comments
 (0)