The NetBSD libc tests use several macros and patches that aren't available in FreeBSD
This patch adds those to lib/libnetbsd so the testcases can be compiled with libnetbsd without having to invent ad hoc #define's, or having to convert things over to FreeBSD idioms.