summaryrefslogtreecommitdiffstats
path: root/arch/x86/um
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-12-14 03:23:37 +0100
committerRichard Weinberger <richard@nod.at>2018-03-29 22:15:12 +0200
commit530ba6c7cb3c22435a4d26de47037bb6f86a5329 (patch)
tree0bceed03e1e4abd9fb15f44e8b4787f1d1d52c15 /arch/x86/um
parent584bfe635481d9b2b7f181b05a84d6cfdce79ee7 (diff)
downloadlinux-530ba6c7cb3c22435a4d26de47037bb6f86a5329.tar.bz2
um: Compile with modern headers
Recent libcs have gotten a bit more strict, so we actually need to include the right headers and use the right types. This enables UML to compile again. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Cc: stable@vger.kernel.org Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um')
-rw-r--r--arch/x86/um/stub_segv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/um/stub_segv.c b/arch/x86/um/stub_segv.c
index fd6825537b97..27361cbb7ca9 100644
--- a/arch/x86/um/stub_segv.c
+++ b/arch/x86/um/stub_segv.c
@@ -6,6 +6,7 @@
#include <sysdep/stub.h>
#include <sysdep/faultinfo.h>
#include <sysdep/mcontext.h>
+#include <sys/ucontext.h>
void __attribute__ ((__section__ (".__syscall_stub")))
stub_segv_handler(int sig, siginfo_t *info, void *p)