#include fcntl.h in cygwin builds
This commit is contained in:
parent
e1efae893a
commit
bf3713ab12
@ -26,7 +26,8 @@
|
||||
#include <unistd.h> /* for chown() */
|
||||
#endif
|
||||
#ifdef __CYGWIN__
|
||||
#include <io.h> /* for _setmode(), O_BINARY */
|
||||
#include <io.h> /* for setmode(), O_BINARY */
|
||||
#include <fcntl.h> /* for _O_BINARY */
|
||||
#endif
|
||||
#include <sys/stat.h> /* for stat(), maybe chmod() */
|
||||
#include <string.h> /* for strrchr() */
|
||||
|
@ -25,7 +25,8 @@
|
||||
#include <io.h> /* for _setmode() */
|
||||
#include <fcntl.h> /* for _O_BINARY */
|
||||
#elif defined __CYGWIN__
|
||||
#include <io.h> /* for _setmode(), O_BINARY */
|
||||
#include <io.h> /* for setmode(), O_BINARY */
|
||||
#include <fcntl.h> /* for _O_BINARY */
|
||||
#endif
|
||||
#include "FLAC/assert.h"
|
||||
#include "protected/file_decoder.h"
|
||||
|
@ -25,7 +25,8 @@
|
||||
#include <io.h> /* for _setmode() */
|
||||
#include <fcntl.h> /* for _O_BINARY */
|
||||
#elif defined __CYGWIN__
|
||||
#include <io.h> /* for _setmode(), O_BINARY */
|
||||
#include <io.h> /* for setmode(), O_BINARY */
|
||||
#include <fcntl.h> /* for _O_BINARY */
|
||||
#endif
|
||||
#include "FLAC/assert.h"
|
||||
#include "protected/file_decoder.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user