From a33542719fd0d0c9128c9613fe0084b37afb5125 Mon Sep 17 00:00:00 2001 From: pstef <3462925+pstef@users.noreply.github.com> Date: Sun, 6 Apr 2025 00:58:15 +0000 Subject: [PATCH] Guard nanosleep prototype behind _POSIX_TIMERS --- wii/libogc/include/ogcsys.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wii/libogc/include/ogcsys.h b/wii/libogc/include/ogcsys.h index 3c52eccd90..aa403d66ad 100644 --- a/wii/libogc/include/ogcsys.h +++ b/wii/libogc/include/ogcsys.h @@ -32,7 +32,9 @@ extern "C" { #endif +#ifndef _POSIX_TIMERS int nanosleep(struct timespec *tb); +#endif #ifdef __cplusplus }