Explorar o código

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

Rich Felker %!s(int64=14) %!d(string=hai) anos
pai
achega
417dbe92cb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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>