xm-linux.h: Include some standard headers if not inhibit_libc.
authorDoug Evans <dje@gnu.org>
Thu, 25 Sep 1997 00:44:26 +0000 (00:44 +0000)
committerDoug Evans <dje@gnu.org>
Thu, 25 Sep 1997 00:44:26 +0000 (00:44 +0000)
* sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
Don't include xm-sparc.h.

From-SVN: r15700

gcc/config/sparc/xm-linux.h

index 64dc7c8ddf953539ff03a2c6afb2d11d417405e6..9299e313029c8fd5558e2b3bc2b35c1fb88cb2f7 100644 (file)
@@ -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>