aboutsummaryrefslogtreecommitdiff
path: root/arch/um/os-Linux/util.c
diff options
context:
space:
mode:
authorIgnat Korchagin <[email protected]>2020-07-19 22:02:21 +0100
committerRichard Weinberger <[email protected]>2020-10-11 23:13:06 +0200
commit5e1121cd43d4d3436140a462bfc230ff8aeb1693 (patch)
tree0625c198e0f982529da43df493efe15f17040642 /arch/um/os-Linux/util.c
parente4e721fe4ccb504a29d1e8d4047667557281d932 (diff)
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 <[email protected]> Tested-by: Brendan Higgins <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/um/os-Linux/util.c')
-rw-r--r--arch/um/os-Linux/util.c2
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>