fix compile error related to ssize_t.
Merge pull request #4487 from Dhilan007/compile_error_ssize

fix compile error related to ssize_t.