Added some types and constants for <fcntl.h> on MacOS X