aboutsummaryrefslogtreecommitdiff
path: root/libgcc/generic-morestack-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/generic-morestack-thread.c')
-rw-r--r--libgcc/generic-morestack-thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgcc/generic-morestack-thread.c b/libgcc/generic-morestack-thread.c
index bc237957ef6..794fdc3dc54 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"