--- a/sshfs.c.orig 2021-06-03 08:24:03.000000000 +0200 +++ b/sshfs.c 2021-06-03 08:26:19.000000000 +0200 @@ -14,9 +14,6 @@ #if !defined(__CYGWIN__) #include #endif -#ifdef __APPLE__ -# include -#endif #include #include #include @@ -3859,7 +3859,11 @@ } #endif /* __APPLE__ */ +#ifdef __APPLE__ + sshfs.blksize = 0; +#else sshfs.blksize = 4096; +#endif /* SFTP spec says all servers should allow at least 32k I/O */ sshfs.max_read = 32768; sshfs.max_write = 32768;