1 siginfo.h: add a missing function member on ia64, mips and sparc arches
2 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
4 From b4e6e61e2f7c6fb4bf59f66efaa74591a2112912 Mon Sep 17 00:00:00 2001
5 From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
6 Date: Thu, 02 Jan 2014 15:02:11 +0000
7 Subject: siginfo.h: add a missing function member on ia64, mips and sparc arches
9 Add "__pid_t _tid" member which is used for some packages, like rt-test
10 for instance, which fails with an error like this one:
12 src/cyclictest/cyclictest.c:638:9: error: 'union <anonymous>' has no
15 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
16 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
18 (limited to 'libc/sysdeps/linux')
20 diff --git a/libc/sysdeps/linux/ia64/bits/siginfo.h b/libc/sysdeps/linux/ia64/bits/siginfo.h
21 index f571f46..82cc73f 100644
22 --- a/libc/sysdeps/linux/ia64/bits/siginfo.h
23 +++ b/libc/sysdeps/linux/ia64/bits/siginfo.h
24 @@ -309,6 +309,10 @@ typedef struct sigevent
26 int _pad[__SIGEV_PAD_SIZE];
28 + /* When SIGEV_SIGNAL and SIGEV_THREAD_ID set, LWP ID of the
29 + thread to receive the signal. */
34 void (*_function) (sigval_t); /* Function to start. */
35 diff --git a/libc/sysdeps/linux/mips/bits/siginfo.h b/libc/sysdeps/linux/mips/bits/siginfo.h
36 index 79fb15a..84b08ca 100644
37 --- a/libc/sysdeps/linux/mips/bits/siginfo.h
38 +++ b/libc/sysdeps/linux/mips/bits/siginfo.h
39 @@ -281,6 +281,10 @@ typedef struct sigevent
41 int _pad[__SIGEV_PAD_SIZE];
43 + /* When SIGEV_SIGNAL and SIGEV_THREAD_ID set, LWP ID of the
44 + thread to receive the signal. */
49 void (*_function) (sigval_t); /* Function to start. */
50 diff --git a/libc/sysdeps/linux/sparc/bits/siginfo.h b/libc/sysdeps/linux/sparc/bits/siginfo.h
51 index 6f2d035..3ffeb6d 100644
52 --- a/libc/sysdeps/linux/sparc/bits/siginfo.h
53 +++ b/libc/sysdeps/linux/sparc/bits/siginfo.h
54 @@ -288,6 +288,10 @@ typedef struct sigevent
56 int _pad[__SIGEV_PAD_SIZE];
58 + /* When SIGEV_SIGNAL and SIGEV_THREAD_ID set, LWP ID of the
59 + thread to receive the signal. */
64 void (*_function) (sigval_t); /* Function to start. */