Gentoo's Bugzilla –
Attachment 851974 Details for
Bug 895060dev-libs/pcl-1.12-r1 fails to compile (MUSL-CLANG-SYSTEM): pcl.c:248:7: error: call to undeclared function getpid; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]