add unistd.h check

Signed-off-by: yayanyang <yayanyang@gmail.com>