Mercurial > hg > CbC > CbC_gcc
diff libgcc/generic-morestack-thread.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | 561a7518be6b |
children | 84e7813d76e9 |
line wrap: on
line diff
--- a/libgcc/generic-morestack-thread.c Sun Aug 21 07:07:55 2011 +0900 +++ b/libgcc/generic-morestack-thread.c Fri Oct 27 22:46:09 2017 +0900 @@ -1,5 +1,5 @@ /* Thread library support for -fsplit-stack. */ -/* Copyright (C) 2009, 2010 Free Software Foundation, Inc. +/* Copyright (C) 2009-2017 Free Software Foundation, Inc. Contributed by Ian Lance Taylor <iant@google.com>. This file is part of GCC. @@ -27,6 +27,7 @@ #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 effect is that people will not be able to use -fsplit-stack. That @@ -36,6 +37,7 @@ #ifndef inhibit_libc +#include <errno.h> #include <pthread.h> #include "generic-morestack.h"