aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1997-09-25 00:44:26 +0000
committerDoug Evans <dje@gnu.org>1997-09-25 00:44:26 +0000
commitbbfbedb141d3a0e232489dbc70a77e1a72644b84 (patch)
treeea7452fc103fb0968735f39863b1bc8f1b1ecbcf
parent18b14bd81696222304a4dac90fe10e05266d6f2a (diff)
downloadgcc-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
-rw-r--r--gcc/config/sparc/xm-linux.h9
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>