added include of unistd.h