summaryrefslogtreecommitdiffstats
path: root/arch/x86/um
diff options
context:
space:
mode:
authorIgnat Korchagin <ignat@cloudflare.com>2020-07-19 22:02:21 +0100
committerRichard Weinberger <richard@nod.at>2020-10-11 23:13:06 +0200
commit5e1121cd43d4d3436140a462bfc230ff8aeb1693 (patch)
tree0625c198e0f982529da43df493efe15f17040642 /arch/x86/um
parente4e721fe4ccb504a29d1e8d4047667557281d932 (diff)
downloadlinux-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/x86/um')
-rw-r--r--arch/x86/um/user-offsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/user-offsets.c b/arch/x86/um/user-offsets.c
index c51dd8363d25..bae61554abcc 100644
--- a/arch/x86/um/user-offsets.c
+++ b/arch/x86/um/user-offsets.c
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <stddef.h>
#include <signal.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/mman.h>
#include <sys/user.h>
#define __FRAME_OFFSETS