[PATCH] ch: Include unistd.h in ch_events.c