add __errno.c

Should've been in 5a10c7696d387ed5126fc85fdbdb59f165f26cfe.