some gnu software wrongly uses "struct siginfo" instead of siginfo_t...
authorRich Felker <dalias@aerifal.cx>
Thu, 17 Feb 2011 03:37:26 +0000 (22:37 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 17 Feb 2011 03:37:26 +0000 (22:37 -0500)
include/signal.h

index 86ef5470471ff110bc507ddc3fd72e3ae9a34404..9db7b2e378fa8acc97e0f80acf923b4f8d51438d 100644 (file)
@@ -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>