]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgcc/generic-morestack-thread.c
spell ldscript correctly in outputs.exp et al
[thirdparty/gcc.git] / libgcc / generic-morestack-thread.c
index bc237957ef64486769a998f81af8fc673884db8f..83a655012721655942c7b20a228acaa66314afef 100644 (file)
@@ -1,5 +1,5 @@
 /* Thread library support for -fsplit-stack.  */
-/* Copyright (C) 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2020 Free Software Foundation, Inc.
    Contributed by Ian Lance Taylor <iant@google.com>.
 
 This file is part of GCC.
@@ -27,8 +27,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #include "tsystem.h"
 #include "coretypes.h"
 #include "tm.h"
+#include "libgcc_tm.h"
 
-/* If inhibit_libc is defined, we can not compile this file.  The
+/* If inhibit_libc is defined, we cannot compile this file.  The
    effect is that people will not be able to use -fsplit-stack.  That
    is much better than failing the build particularly since people
    will want to define inhibit_libc while building a compiler which
@@ -36,6 +37,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"