about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-19 22:27:02 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-19 22:27:02 -0400
commit8c07f6eac843c2acb217083d48c4cef95f2b891c (patch)
tree6fc146b6cfd33aea7d62b66be07ec13e8c50121b
parentf780ac5baf4f204b3980cd07655e1462ca8455c3 (diff)
downloadmusl-8c07f6eac843c2acb217083d48c4cef95f2b891c.tar.gz
musl-8c07f6eac843c2acb217083d48c4cef95f2b891c.tar.xz
musl-8c07f6eac843c2acb217083d48c4cef95f2b891c.zip
add some more siginfo aliases broken software expects...
-rw-r--r--include/signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h
index 6e22bdff..cbbb42a7 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -138,6 +138,8 @@ struct __siginfo
 #define si_fd      __si_fields.__sigpoll.si_fd
 #define si_timer1  __si_fields.__timer.si_timer1
 #define si_timer2  __si_fields.__timer.si_timer2
+#define si_ptr     __si_fields.__rt.si_sigval.sival_ptr
+#define si_int     __si_fields.__rt.si_sigval.sival_int
 
 struct sigevent {
 	union sigval sigev_value;