summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/slip_user.c
diff options
context:
space:
mode:
authorIgnat Korchagin <ignat@cloudflare.com>2020-07-19 23:02:21 +0200
committerRichard Weinberger <richard@nod.at>2020-10-11 23:13:06 +0200
commit5e1121cd43d4d3436140a462bfc230ff8aeb1693 (patch)
tree0625c198e0f982529da43df493efe15f17040642 /arch/um/drivers/slip_user.c
parentum: vector: Use GFP_ATOMIC under spin lock (diff)
downloadlinux-5e1121cd43d4d3436140a462bfc230ff8aeb1693.tar.xz
linux-5e1121cd43d4d3436140a462bfc230ff8aeb1693.zip
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/drivers/slip_user.c')
-rw-r--r--arch/um/drivers/slip_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/slip_user.c b/arch/um/drivers/slip_user.c
index 8016d32b6809..482a19c5105c 100644
--- a/arch/um/drivers/slip_user.c
+++ b/arch/um/drivers/slip_user.c
@@ -9,7 +9,7 @@
#include <errno.h>
#include <fcntl.h>
#include <string.h>
-#include <sys/termios.h>
+#include <termios.h>
#include <sys/wait.h>
#include <net_user.h>
#include <os.h>