fcntl.h is still needed here.