brcm47xx: b44: fix logic in BUG_ON()
[openwrt.git] / target / linux / uml / patches-3.8 / 002-fix_compilation.patch
1 diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c 
2 index b1469fe..9d9f1b4 100644 
3 --- a/arch/um/os-Linux/signal.c 
4 +++ b/arch/um/os-Linux/signal.c 
5 @@ -15,7 +15,7 @@ 
6  #include <sysdep/mcontext.h>
7  #include "internal.h"
8  
9 -void (*sig_info[NSIG])(int, siginfo_t *, struct uml_pt_regs *) = {
10 +void (*sig_info[NSIG])(int, struct siginfo *, struct uml_pt_regs *) = {
11         [SIGTRAP]       = relay_signal,
12         [SIGFPE]        = relay_signal,
13         [SIGILL]        = relay_signal,
14 --- a/arch/um/os-Linux/start_up.c
15 +++ b/arch/um/os-Linux/start_up.c
16 @@ -15,6 +15,8 @@
17  #include <sys/mman.h>
18  #include <sys/stat.h>
19  #include <sys/wait.h>
20 +#include <sys/time.h>
21 +#include <sys/resource.h>
22  #include <asm/unistd.h>
23  #include <init.h>
24  #include <os.h>