must include unistd before testing for _POSIX_ADVISORY_INFO