From 889653eb8a57f1fea1179ef44451c332255fbea4 Mon Sep 17 00:00:00 2001 From: Extrems Date: Mon, 11 Nov 2024 18:21:53 -0500 Subject: [PATCH] Fix build with devkitPPC release 46.1 --- libogc/system.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libogc/system.c b/libogc/system.c index c785f13..58a4ad4 100644 --- a/libogc/system.c +++ b/libogc/system.c @@ -205,6 +205,7 @@ const void *__libogc_lock_acquire = __syscall_lock_acquire; const void *__libogc_lock_try_acquire = __syscall_lock_try_acquire; const void *__libogc_lock_release = __syscall_lock_release; const void *__libogc_exit = __syscall_exit; +extern void *_sbrk_r(struct _reent *ptr, ptrdiff_t incr); const void *__libogc_sbrk_r = _sbrk_r; const void *__libogc_gettod_r = __syscall_gettod_r; const void *__libogc_clock_gettime = __syscall_clock_gettime;