Include unistd.h in example