about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-16 22:37:26 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-16 22:37:26 -0500
commit417dbe92cbecae31aa569cb4033560eb140bff56 (patch)
tree4fb71aee6cb8d14d5d4363167036a8ef4e4a7738
parent56b784d603827a564a40b19228078a361959cd14 (diff)
downloadmusl-417dbe92cbecae31aa569cb4033560eb140bff56.tar.gz
musl-417dbe92cbecae31aa569cb4033560eb140bff56.tar.xz
musl-417dbe92cbecae31aa569cb4033560eb140bff56.zip
some gnu software wrongly uses "struct siginfo" instead of siginfo_t...
-rw-r--r--include/signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h
index 86ef5470..9db7b2e3 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -88,6 +88,7 @@ void (*sigset(int, void (*)(int)))(int);
 #ifdef _GNU_SOURCE
 typedef int (*sighandler_t)(int);
 void (*bsd_signal(int, void (*)(int)))(int);
+#define __siginfo siginfo
 #endif
 
 #include <bits/signal.h>