From 3f23f78d7e1227b742ddb2f4a657d00681621fe0 Mon Sep 17 00:00:00 2001 From: cyrus Date: Tue, 24 Sep 2013 13:36:38 +0000 Subject: uml: fix some kernel compilation issues with GCC git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38165 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../uml/patches-3.8/002-fix_compilation.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 target/linux/uml/patches-3.8/002-fix_compilation.patch (limited to 'target') diff --git a/target/linux/uml/patches-3.8/002-fix_compilation.patch b/target/linux/uml/patches-3.8/002-fix_compilation.patch new file mode 100644 index 0000000000..745f91f490 --- /dev/null +++ b/target/linux/uml/patches-3.8/002-fix_compilation.patch @@ -0,0 +1,24 @@ +diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c +index b1469fe..9d9f1b4 100644 +--- a/arch/um/os-Linux/signal.c ++++ b/arch/um/os-Linux/signal.c +@@ -15,7 +15,7 @@ + #include + #include "internal.h" + +-void (*sig_info[NSIG])(int, siginfo_t *, struct uml_pt_regs *) = { ++void (*sig_info[NSIG])(int, struct siginfo *, struct uml_pt_regs *) = { + [SIGTRAP] = relay_signal, + [SIGFPE] = relay_signal, + [SIGILL] = relay_signal, +--- a/arch/um/os-Linux/start_up.c ++++ b/arch/um/os-Linux/start_up.c +@@ -15,6 +15,8 @@ + #include + #include + #include ++#include ++#include + #include + #include + #include -- cgit v1.2.3