From 395311f7a17c88e34310adc76c84cdee83c0ca46 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 21 Sep 2024 18:59:43 -0400 Subject: simulator: Make sure we define the right stuff for sigaltstack() We got some of this stuff through SDL1 implicitly. Change-Id: I349be640ac15f79048d860bb58bae93a74a0e1ec --- firmware/export/config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware') diff --git a/firmware/export/config.h b/firmware/export/config.h index d4e77cf893..bedf7df4e2 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -1265,6 +1265,12 @@ Lyre prototype 1 */ #endif #endif +#if defined(HAVE_SIGALTSTACK_THREADS) +#ifndef _XOPEN_SOURCE +#define _XOPEN_SOURCE 600 /* For sigaltstack */ +#endif +#endif + #ifdef CPU_MIPS #include /* MIPS GCC fix? */ #endif -- cgit v1.2.3