diff options
author | Doug Evans <dje@gnu.org> | 1997-09-25 00:44:26 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1997-09-25 00:44:26 +0000 |
commit | bbfbedb141d3a0e232489dbc70a77e1a72644b84 (patch) | |
tree | ea7452fc103fb0968735f39863b1bc8f1b1ecbcf /gcc | |
parent | 18b14bd81696222304a4dac90fe10e05266d6f2a (diff) | |
download | gcc-bbfbedb141d3a0e232489dbc70a77e1a72644b84.zip gcc-bbfbedb141d3a0e232489dbc70a77e1a72644b84.tar.gz gcc-bbfbedb141d3a0e232489dbc70a77e1a72644b84.tar.bz2 |
xm-linux.h: Include some standard headers if not inhibit_libc.
* sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
Don't include xm-sparc.h.
From-SVN: r15700
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/sparc/xm-linux.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/config/sparc/xm-linux.h b/gcc/config/sparc/xm-linux.h index 64dc7c8..9299e31 100644 --- a/gcc/config/sparc/xm-linux.h +++ b/gcc/config/sparc/xm-linux.h @@ -1,5 +1,5 @@ /* Configuration for GCC for SPARC running Linux. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by Eddie C. Dost (ecd@skynet.be) This file is part of GNU CC. @@ -19,5 +19,10 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <sparc/xm-sparc.h> +#ifndef inhibit_libc +#include <alloca.h> +#include <stdlib.h> +#include <string.h> +#endif + #include <xm-linux.h> |