Conditionally include unistd.h

This commit is contained in:
James Clark 1998-04-10 06:30:05 +00:00
parent 323478ff2a
commit 586519240e

View File

@ -31,6 +31,10 @@ Contributor(s):
#include <io.h> #include <io.h>
#endif #endif
#ifdef _POSIX_SOURCE
#include <unistd.h>
#endif
#ifndef O_BINARY #ifndef O_BINARY
#ifdef _O_BINARY #ifdef _O_BINARY
#define O_BINARY _O_BINARY #define O_BINARY _O_BINARY