Fixes to SFTP progress meter

This commit is contained in:
manojampalam 2016-03-23 22:14:44 -07:00
parent 5a60b811fe
commit eed9299081
2 changed files with 4 additions and 4 deletions

View File

@ -4,10 +4,9 @@
/* Compatibility header to avoid lots of #ifdef _WIN32's in includes.h */
typedef unsigned int uid_t;
typedef unsigned int gid_t;
typedef long _off_t;
typedef long off_t;
typedef unsigned int _dev_t;
typedef unsigned int dev_t;
//typedef size_t _off_t;
typedef size_t off_t;
typedef _dev_t dev_t;
#endif

View File

@ -313,4 +313,5 @@ setscreensize(void)
win_size = DEFAULT_WINSIZE;
win_size += 1; /* trailing \0 */
#endif
win_size = DEFAULT_WINSIZE + 1;
}