diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2014-01-02 15:02:11 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-01-08 12:34:06 +0100 |
commit | b4e6e61e2f7c6fb4bf59f66efaa74591a2112912 (patch) | |
tree | 72060f6e01fb5320eb1614a688e55b1917ed9454 /libc/sysdeps/linux/mips/bits | |
parent | 7feb0934e2466efabe9268d8d3df0450297ec04e (diff) |
siginfo.h: add a missing function member on ia64, mips and sparc arches
Add "__pid_t _tid" member which is used for some packages, like rt-test
for instance, which fails with an error like this one:
src/cyclictest/cyclictest.c:638:9: error: 'union <anonymous>' has no
member named '_tid'
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/mips/bits')
-rw-r--r-- | libc/sysdeps/linux/mips/bits/siginfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/bits/siginfo.h b/libc/sysdeps/linux/mips/bits/siginfo.h index 79fb15a7b..84b08cad7 100644 --- a/libc/sysdeps/linux/mips/bits/siginfo.h +++ b/libc/sysdeps/linux/mips/bits/siginfo.h @@ -281,6 +281,10 @@ typedef struct sigevent { int _pad[__SIGEV_PAD_SIZE]; + /* When SIGEV_SIGNAL and SIGEV_THREAD_ID set, LWP ID of the + thread to receive the signal. */ + __pid_t _tid; + struct { void (*_function) (sigval_t); /* Function to start. */ |