Gentoo's Bugzilla –
Attachment 855766 Details for
Bug 898892x11-misc/wdm-1.28-r8 fails to compile (MUSL-CLANG-SYSTEM): util.c:117:2: error: call to undeclared function sigsetmask; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]