Gentoo's Bugzilla –
Attachment 854738 Details for
Bug 897836net-analyzer/nsat-1.5-r6 fails to compile (MUSL-CLANG-SYSTEM): ADMsmb.c:117:8: error: call to undeclared function fcntl; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]