summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-09-21 18:59:43 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-09-21 19:08:32 -0400
commit395311f7a17c88e34310adc76c84cdee83c0ca46 (patch)
tree1713b64df85ebcb4be4dcfbcb704fc2463290d1c /firmware/export
parenta7fba55fcfd3630b22a01088a5837688f94d15b8 (diff)
downloadrockbox-395311f7a17c88e34310adc76c84cdee83c0ca46.tar.gz
rockbox-395311f7a17c88e34310adc76c84cdee83c0ca46.zip
simulator: Make sure we define the right stuff for sigaltstack()
We got some of this stuff through SDL1 implicitly. Change-Id: I349be640ac15f79048d860bb58bae93a74a0e1ec
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config.h6
1 files changed, 6 insertions, 0 deletions
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 */
1265#endif 1265#endif
1266#endif 1266#endif
1267 1267
1268#if defined(HAVE_SIGALTSTACK_THREADS)
1269#ifndef _XOPEN_SOURCE
1270#define _XOPEN_SOURCE 600 /* For sigaltstack */
1271#endif
1272#endif
1273
1268#ifdef CPU_MIPS 1274#ifdef CPU_MIPS
1269#include <stdbool.h> /* MIPS GCC fix? */ 1275#include <stdbool.h> /* MIPS GCC fix? */
1270#endif 1276#endif