Skip to content
Snippets Groups Projects
Commit dbd84a2c authored by rswindell's avatar rswindell
Browse files

#include unistd.h for write prototype on Unix build.

parent 10e41156
Branches
Tags
No related merge requests found
......@@ -9,6 +9,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#if defined(__unix__)
#include <unistd.h> /* write */
#define O_BINARY 0
#else
#include <io.h> /* open */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment