Skip to content

Commit 80f99c5

Browse files
t-8chWen Zhiwei
authored andcommitted
tools/nolibc: s390: include std.h
stable inclusion from stable-v6.6.64 commit ee68555b979e6add431ed7cb0f965b36cc309ebb category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBL4B6 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ee68555b979e6add431ed7cb0f965b36cc309ebb -------------------------------- 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: 404fa87 ("tools/nolibc: s390: provide custom implementation for sys_fork") Cc: [email protected] Signed-off-by: Thomas Weißschuh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Wen Zhiwei <[email protected]>
1 parent 8bab870 commit 80f99c5

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)