Put #include of errno.h and decl of errno before #ifndef HAVE_GETLOADAVG.