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
/* 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.
#ifndef inhibit_libc
+#include <errno.h>
#include <pthread.h>
#include "generic-morestack.h"