Commit 5c44cf4bb62590a8db514c8b2d0f9db953a43d19

humphreyj 2018-10-07T11:47:29

Replace all instances of ssize_t with long and rearranged unistd include, fixing compile errors on Windows VS.