aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-05-17 07:54:49 -0700
committerH. Peter Anvin <hpa@zytor.com>2012-05-17 07:57:24 -0700
commit8a95f4d87fd3adf59c68bbd8ba85830e511e59ea (patch)
tree852233fbd791769d81cf130030e8f6eb8c733bf8
parent7b42943f4ed7c3e9bc10779b4d765fb81f3babf3 (diff)
downloadklibc-8a95f4d87fd3adf59c68bbd8ba85830e511e59ea.tar.gz
[klibc] Use RT signal system calls on MIPS
The old signal system calls seem rather messed up on MIPS, but the headers should be clean for the RT signals, so just use those. Reported-by: Thorsten Glaser <tg@mirbsd.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--usr/include/arch/mips/klibc/archconfig.h3
-rw-r--r--usr/include/arch/mips64/klibc/archconfig.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/usr/include/arch/mips/klibc/archconfig.h b/usr/include/arch/mips/klibc/archconfig.h
index ff0afb5453173..9c21efc132a5c 100644
--- a/usr/include/arch/mips/klibc/archconfig.h
+++ b/usr/include/arch/mips/klibc/archconfig.h
@@ -18,4 +18,7 @@
/* MIPS has nonstandard socket definitions */
#define _KLIBC_HAS_ARCHSOCKET_H 1
+/* We can use RT signals on MIPS */
+#define _KLIBC_USE_RT_SIG 1
+
#endif /* _KLIBC_ARCHCONFIG_H */
diff --git a/usr/include/arch/mips64/klibc/archconfig.h b/usr/include/arch/mips64/klibc/archconfig.h
index 9071cb48b626e..4d856a593d56a 100644
--- a/usr/include/arch/mips64/klibc/archconfig.h
+++ b/usr/include/arch/mips64/klibc/archconfig.h
@@ -12,4 +12,7 @@
/* MIPS has nonstandard socket definitions */
#define _KLIBC_HAS_ARCHSOCKET_H 1
+/* We can use RT signals on MIPS */
+#define _KLIBC_USE_RT_SIG 1
+
#endif /* _KLIBC_ARCHCONFIG_H */