SDL: rwops: Fixed build on Android.

From 5f64cc511e48546994ccbd6984a8a6ed110b8d12 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 14 Mar 2024 19:35:02 -0400
Subject: [PATCH] rwops: Fixed build on Android.

---
 src/core/android/SDL_android.c | 4 ++--
 src/core/android/SDL_android.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c
index 092b5d8857aa6..01e03bde60f70 100644
--- a/src/core/android/SDL_android.c
+++ b/src/core/android/SDL_android.c
@@ -1980,7 +1980,7 @@ int Android_JNI_FileOpen(void **puserdata, const char *fileName, const char *mod
     return 0;
 }
 
-size_t Android_JNI_FileRead(void *userdata, void *buffer, size_t size)
+size_t Android_JNI_FileRead(void *userdata, void *buffer, size_t size, SDL_IOStatus *status)
 {
     const int bytes = AAsset_read((AAsset *)userdata, buffer, size);
     if (bytes < 0) {
@@ -1990,7 +1990,7 @@ size_t Android_JNI_FileRead(void *userdata, void *buffer, size_t size)
     return (size_t)bytes;
 }
 
-size_t Android_JNI_FileWrite(void *userdata, const void *buffer, size_t size)
+size_t Android_JNI_FileWrite(void *userdata, const void *buffer, size_t size, SDL_IOStatus *status)
 {
     return SDL_SetError("Cannot write to Android package filesystem");
 }
diff --git a/src/core/android/SDL_android.h b/src/core/android/SDL_android.h
index e86c9846d91f4..b323722e27d10 100644
--- a/src/core/android/SDL_android.h
+++ b/src/core/android/SDL_android.h
@@ -69,8 +69,8 @@ extern SDL_bool Android_IsChromebook(void);
 int Android_JNI_FileOpen(void **puserdata, const char *fileName, const char *mode);
 Sint64 Android_JNI_FileSize(void *userdata);
 Sint64 Android_JNI_FileSeek(void *userdata, Sint64 offset, int whence);
-size_t Android_JNI_FileRead(void *userdata, void *buffer, size_t size);
-size_t Android_JNI_FileWrite(void *userdata, const void *buffer, size_t size);
+size_t Android_JNI_FileRead(void *userdata, void *buffer, size_t size, SDL_IOStatus *status);
+size_t Android_JNI_FileWrite(void *userdata, const void *buffer, size_t size, SDL_IOStatus *status);
 int Android_JNI_FileClose(void *userdata);
 
 /* Environment support */