Browse Source

some gnu software wrongly uses "struct siginfo" instead of siginfo_t...

Rich Felker 14 years ago
parent
commit
417dbe92cb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/signal.h

+ 1 - 0
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>