Make sure fcntl.h is included.

Needed for declaration of open(), plus definitions for O_RDONLY and O_NDELAY.