add include of unistd.h