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>
This commit is contained in:
Ignat Korchagin
2020-07-19 22:02:21 +01:00
committed by Richard Weinberger
parent e4e721fe4c
commit 5e1121cd43
6 changed files with 11 additions and 12 deletions

View File

@@ -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>