BUILD: listener: add fcntl.h and unistd.h

Otherwise it fails to build on some platforms.