summaryrefslogblamecommitdiff
path: root/user/libnih/musl-fix-signals.patch
blob: 97ef8196deaaa3e6d3c0fbadedd609edef91dbb6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12










                                  
--- libnih-1.0.3.orig/nih/signal.c
+++ libnih-1.0.3/nih/signal.c
@@ -87,7 +87,9 @@
 	{ SIGSTKFLT, "STKFLT" },
 #endif
 	{ SIGCHLD,   "CHLD"   },
+#ifdef SIGCLD
 	{ SIGCLD,    "CLD"    },
+#endif
 	{ SIGCONT,   "CONT"   },
 	{ SIGSTOP,   "STOP"   },
 	{ SIGTSTP,   "TSTP"   },