diff options
author | Mattias Andrée <maandree@kth.se> | 2020-06-21 10:21:26 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-06-21 10:21:26 +0200 |
commit | 17a8d671d61d045c2779d4ecbc9ea07f08641cef (patch) | |
tree | 65103d1c165e0b6247eb18f9b355b1e7ddf1339f | |
parent | Use __SIGRTMIN and __SIGRTMAX and #define them if missing (diff) | |
download | sctrace-17a8d671d61d045c2779d4ecbc9ea07f08641cef.tar.gz sctrace-17a8d671d61d045c2779d4ecbc9ea07f08641cef.tar.bz2 sctrace-17a8d671d61d045c2779d4ecbc9ea07f08641cef.tar.xz |
#define SIGCLD if missing, needed for musl
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | common.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -18,6 +18,11 @@ # error "This program is only implemented for Linux" #endif +/* #define signals that may appear in list-signums.h but may be missing in <signalh> */ +#if !defined(SIGCLD) && defined(SIGCHLD) +# define SIGCLD SIGCHLD +#endif + #include "arg.h" #include "list-errnos.h" #include "list-signums.h" |