From: Chris Metcalf Date: Wed, 22 May 2013 00:25:22 +0000 (-0400) Subject: tile: use siginfo_t, not struct siginfo X-Git-Tag: v4.8~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c0796f3462b1cf6ef9ed114e255763791d66b78;p=strace tile: use siginfo_t, not struct siginfo As of glibc 2.16, "struct siginfo" is no longer supported, and "siginfo_t" must be used instead. Signed-off-by: Chris Metcalf Signed-off-by: Denys Vlasenko --- diff --git a/signal.c b/signal.c index cc1d511d..55815aa0 100644 --- a/signal.c +++ b/signal.c @@ -971,7 +971,7 @@ sys_sigreturn(struct tcb *tcp) sigset_t sigm; /* offset of ucontext in the kernel's sigframe structure */ -# define SIGFRAME_UC_OFFSET C_ABI_SAVE_AREA_SIZE + sizeof(struct siginfo) +# define SIGFRAME_UC_OFFSET C_ABI_SAVE_AREA_SIZE + sizeof(siginfo_t) if (umove(tcp, tile_regs.sp + SIGFRAME_UC_OFFSET, &uc) < 0) return 0; sigemptyset(&sigm);