1This patch is taken from gentoo musl overlay 2sigval_t is glibc only construct, we use a union of sigval 3which pretty much is same effect as sigval_t 4 5Upstream-Status: Pending 6Signed-off-by: Khem Raj <raj.khem@gmail.com> 7 8diff -Naur DirectFB-1.7.6.orig/lib/direct/os/linux/glibc/system.c DirectFB-1.7.6/lib/direct/os/linux/glibc/system.c 9--- DirectFB-1.7.6.orig/lib/direct/os/linux/glibc/system.c 2014-07-15 02:54:58.000000000 -0400 10+++ DirectFB-1.7.6/lib/direct/os/linux/glibc/system.c 2015-07-18 16:55:35.077989166 -0400 11@@ -111,7 +111,7 @@ 12 void 13 direct_trap( const char *domain, int sig ) 14 { 15- sigval_t val; 16+ union sigval val; 17 18 if (direct_config->delay_trap_ms) { 19 D_LOG( Direct_Trap, VERBOSE, "NOT RAISING signal %d from %s, waiting for %dms... attach gdb --pid=%d\n", sig, domain, direct_config->delay_trap_ms, getpid() ); 20