Adapted various POSIX headers to Linux/ARM.