aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/strsignal.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/strsignal.c')
-rw-r--r--newlib/libc/string/strsignal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/string/strsignal.c b/newlib/libc/string/strsignal.c
index 544857b..89d39fe 100644
--- a/newlib/libc/string/strsignal.c
+++ b/newlib/libc/string/strsignal.c
@@ -52,6 +52,10 @@ QUICKREF
#include <stdlib.h>
#include <reent.h>
+#ifdef _REENT_THREAD_LOCAL
+_Thread_local char _tls_signal_buf[_REENT_SIGNAL_SIZE];
+#endif
+
char *
strsignal (int signal)
{