1
0
Fork 0
forked from len0rd/rockbox

simulator: Make sure we define the right stuff for sigaltstack()

We got some of this stuff through SDL1 implicitly.

Change-Id: I349be640ac15f79048d860bb58bae93a74a0e1ec
This commit is contained in:
Solomon Peachy 2024-09-21 18:59:43 -04:00
parent a7fba55fcf
commit 395311f7a1

View file

@ -1265,6 +1265,12 @@ Lyre prototype 1 */
#endif #endif
#endif #endif
#if defined(HAVE_SIGALTSTACK_THREADS)
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600 /* For sigaltstack */
#endif
#endif
#ifdef CPU_MIPS #ifdef CPU_MIPS
#include <stdbool.h> /* MIPS GCC fix? */ #include <stdbool.h> /* MIPS GCC fix? */
#endif #endif