aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2011-10-07 22:52:28 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-10-07 22:52:28 +0000
commitb5204884b28284e93de252ce0af0e0323b4ff429 (patch)
tree26fe2c8b0d67914875fe0748ee41072533f99586 /libgcc
parent91a639a157751047ee68101244a549d2ed34fdf5 (diff)
downloadgcc-b5204884b28284e93de252ce0af0e0323b4ff429.zip
gcc-b5204884b28284e93de252ce0af0e0323b4ff429.tar.gz
gcc-b5204884b28284e93de252ce0af0e0323b4ff429.tar.bz2
* generic-morestack-thread.c: #include <errno.h>.
From-SVN: r179703
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/generic-morestack-thread.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 6bc2ed5..87ba1ca 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,5 +1,9 @@
2011-10-07 Ian Lance Taylor <iant@google.com>
+ * generic-morestack-thread.c: #include <errno.h>.
+
+2011-10-07 Ian Lance Taylor <iant@google.com>
+
PR target/46093
* generic-morestack.c (__generic_morestack): Make sure the segment
is large enough for both the stack frame and the copied
diff --git a/libgcc/generic-morestack-thread.c b/libgcc/generic-morestack-thread.c
index bc23795..794fdc3 100644
--- a/libgcc/generic-morestack-thread.c
+++ b/libgcc/generic-morestack-thread.c
@@ -1,5 +1,5 @@
/* Thread library support for -fsplit-stack. */
-/* Copyright (C) 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
Contributed by Ian Lance Taylor <iant@google.com>.
This file is part of GCC.
@@ -36,6 +36,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#ifndef inhibit_libc
+#include <errno.h>
#include <pthread.h>
#include "generic-morestack.h"