1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/debian/patches/ftruncate-e6f52ae5.patch Wed Aug 13 17:01:22 2014 +0200
1.3 @@ -0,0 +1,11 @@
1.4 +--- a/shedskin/lib/builtin/file.cpp
1.5 ++++ b/shedskin/lib/builtin/file.cpp
1.6 +@@ -4,6 +4,8 @@
1.7 + #include <io.h> // for _isatty
1.8 + #endif // WIN32
1.9 +
1.10 ++#include <unistd.h>
1.11 ++
1.12 + #if (_POSIX_C_SOURCE >= 1 or _XOPEN_SOURCE or _POSIX_SOURCE or _BSD_SOURCE or _SVID_SOURCE) and (_BSD_SOURCE or _SVID_SOURCE)
1.13 + #define HAVE_STDIO_UNLOCKED
1.14 + #endif