listener: fix more unistd.h breakage

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>