2014-08-13 | Paul Boddie | raw annotate files changeset graph | Attempted to fix #757125. | shedskin-0.9.2 |
1 --- a/shedskin/lib/builtin/file.cpp 2 +++ b/shedskin/lib/builtin/file.cpp 3 @@ -4,6 +4,8 @@ 4 #include <io.h> // for _isatty 5 #endif // WIN32 6 7 +#include <unistd.h> 8 + 9 #if (_POSIX_C_SOURCE >= 1 or _XOPEN_SOURCE or _POSIX_SOURCE or _BSD_SOURCE or _SVID_SOURCE) and (_BSD_SOURCE or _SVID_SOURCE) 10 #define HAVE_STDIO_UNLOCKED 11 #endif