From a29f991b84a6c27515e72d19a84159be9851be79 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 12 Jul 2003 11:40:03 +0000 Subject: [PATCH] * src/sys2.h: Remove alloca-related block. * src/system.h: Include here, instead. --- src/sys2.h | 23 ----------------------- src/system.h | 2 ++ 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/src/sys2.h b/src/sys2.h index a4b4ade7dc..b6f8577bf4 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -226,29 +226,6 @@ # define RETSIGTYPE void #endif -#if __GNUC__ -# ifndef alloca -# define alloca __builtin_alloca -# endif -#else -# if HAVE_ALLOCA_H -# include -# else -# ifdef _AIX - # pragma alloca -# else -# ifdef _WIN32 -# include -# include -# else -# ifndef alloca -char *alloca (); -# endif -# endif -# endif -# endif -#endif - #ifdef __DJGPP__ /* We need the declaration of setmode. */ # include diff --git a/src/system.h b/src/system.h index 387a136f79..1c212d4010 100644 --- a/src/system.h +++ b/src/system.h @@ -15,6 +15,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include + /* Include sys/types.h before this file. */ #if 2 <= __GLIBC__ && 2 <= __GLIBC_MINOR__ -- 2.47.2