* generic-morestack-thread.c: #include <errno.h>.
authorIan Lance Taylor <iant@google.com>
Fri, 7 Oct 2011 22:52:28 +0000 (22:52 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 7 Oct 2011 22:52:28 +0000 (22:52 +0000)
From-SVN: r179703

libgcc/ChangeLog
libgcc/generic-morestack-thread.c

index 6bc2ed581efa697410838a0a70e96d30975f7c30..87ba1ca83b770fc9b41a313531d36298f4e3675f 100644 (file)
@@ -1,3 +1,7 @@
+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
index bc237957ef64486769a998f81af8fc673884db8f..794fdc3dc542baaf4d7bd7a8f4f8258378155221 100644 (file)
@@ -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"