Actually, it's always wrong to declare errno. On the 4.3BSD vax I have access to, errno is declared in sys/errno.h. I don't have an account on any machines older than that now, but really Kerberos wouldn't even build on that. So a patch to fix cases where errno is declared would be fairly likely to be accepted.