I concur with Andreas: unconditionally including <sys/fcntl.h> is not
portable. Seems to have been added for O_BINARY, which is only needed for __CYGWIN32__, so include it here only in that case.
Showing
Please register or sign in to comment