apologies, should've read POSIX first. netbsd is not alone in having 'extern int signgam', that is part of POSIX. so at least we won't be the only ones to have an issue if compilers decide to replace lgamma.