"extern int errno;" no longer works to get errno. Include <errno.h> instead to fix the build. MFH: 2024Q4
mentioned in commit f8d0a3ff