Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
bf3713ab
Commit
bf3713ab
authored
Aug 13, 2002
by
Josh Coalson
Browse files
#include fcntl.h in cygwin builds
parent
e1efae89
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/flac/file.c
View file @
bf3713ab
...
...
@@ -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() */
...
...
src/libFLAC/file_decoder.c
View file @
bf3713ab
...
...
@@ -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"
...
...
src/libOggFLAC/file_decoder.c
View file @
bf3713ab
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment