Same on FreeBSD: man sysconf says it needs unistd.h. So you can disable the __OS_freebsd in both cases.
—Reply to this email directly or view it on GitHub.