From dee8ab28ac52f3d4c0bae527614fb5fa7122054d Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 18 Nov 2002 16:37:53 +0000 Subject: [PATCH] Don't include alloca.h. --- src/m/powerpcle.h | 6 ------ src/m/sparc.h | 6 ------ src/s/irix4-0.h | 4 ---- src/s/irix5-0.h | 6 ------ 4 files changed, 22 deletions(-) diff --git a/src/m/powerpcle.h b/src/m/powerpcle.h index f5f29fe3a0e..e1409200dbc 100644 --- a/src/m/powerpcle.h +++ b/src/m/powerpcle.h @@ -54,11 +54,5 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) -#ifndef NOT_C_CODE -#if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */ -#include -#endif -#endif - /* Control a conditional in unexelf.c. */ #define SOLARIS_POWERPC diff --git a/src/m/sparc.h b/src/m/sparc.h index 5bd16a0b408..28ac8421694 100644 --- a/src/m/sparc.h +++ b/src/m/sparc.h @@ -59,12 +59,6 @@ NOTE-END */ #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) -#ifndef NOT_C_CODE -#if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */ -#include -#endif -#endif - /* Mask for address bits within a memory segment */ #define SEGMENT_MASK (SEGSIZ - 1) diff --git a/src/s/irix4-0.h b/src/s/irix4-0.h index 93d4fba1716..4144c34d9af 100644 --- a/src/s/irix4-0.h +++ b/src/s/irix4-0.h @@ -5,10 +5,6 @@ /* XPointer is not defined in the older X headers -- JPff@maths.bath.ac.uk */ #define XPointer caddr_t -#ifndef NOT_C_CODE -#include -#endif - #undef NEED_SIOCTL /* Include unistd.h, even though we don't define POSIX. */ diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h index b2cdbeb0b8c..a83d3fcb417 100644 --- a/src/s/irix5-0.h +++ b/src/s/irix5-0.h @@ -29,12 +29,6 @@ /* Make process_send_signal work by "typing" a signal character on the pty. */ #define SIGNALS_VIA_CHARACTERS -#ifndef NOT_C_CODE -#ifndef __GNUC__ -#include -#endif -#endif - /* SGI has all the fancy wait stuff, but we can't include sys/wait.h because it defines BIG_ENDIAN and LITTLE_ENDIAN (ugh!.) Instead we'll just define WNOHANG right here. -- 2.39.2