FIX compile error

define undefined macro, inslude requiired header file (unistd.h)