include fcntl.h on all *nix platforms (closes #24217)

Patch by Jeffrey Armstrong.
1 file changed