Add windows header include to retrosync.c - plus ifndef WIN32 out
unistd.h