Index: src/os_unix.c ================================================================== --- src/os_unix.c +++ src/os_unix.c @@ -675,11 +675,13 @@ case EINVAL: case ENOTCONN: case ENODEV: case ENXIO: case ENOENT: +#ifdef ESTALE /* ESTALE is not defined on Interix systems */ case ESTALE: +#endif case ENOSYS: /* these should force the client to close the file and reconnect */ default: return sqliteIOErr;