Forgot to declare mingw_fsync() explicitly.