diff options
author | Ignat Korchagin <ignat@cloudflare.com> | 2020-07-19 22:02:21 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2020-10-11 23:13:06 +0200 |
commit | 5e1121cd43d4d3436140a462bfc230ff8aeb1693 (patch) | |
tree | 0625c198e0f982529da43df493efe15f17040642 /arch/um/os-Linux | |
parent | e4e721fe4ccb504a29d1e8d4047667557281d932 (diff) | |
download | linux-5e1121cd43d4d3436140a462bfc230ff8aeb1693.tar.bz2 |
um: Some fixes to build UML with musl
musl toolchain and headers are a bit more strict. These fixes enable building
UML with musl as well as seem not to break on glibc.
Signed-off-by: Ignat Korchagin <ignat@cloudflare.com>
Tested-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/os-Linux')
-rw-r--r-- | arch/um/os-Linux/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/os-Linux/util.c b/arch/um/os-Linux/util.c index ecf2f390fad2..07327425d06e 100644 --- a/arch/um/os-Linux/util.c +++ b/arch/um/os-Linux/util.c @@ -10,7 +10,7 @@ #include <signal.h> #include <string.h> #include <termios.h> -#include <wait.h> +#include <sys/wait.h> #include <sys/mman.h> #include <sys/utsname.h> #include <init.h> |