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