From 3f73352f9061aff935a4dd2a693d877747edea53 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Fri, 22 Nov 1991 17:07:42 +0000 Subject: [PATCH] is required for . Improve Sun alloca. --- readline/ChangeLog | 5 +++++ readline/sysdep-aix.h | 1 + readline/sysdep-newsos.h | 2 +- readline/sysdep-norm.h | 5 +++-- readline/sysdep-oldbsd.h | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/readline/ChangeLog b/readline/ChangeLog index 5191241f1a1..4cb89fa4b82 100644 --- a/readline/ChangeLog +++ b/readline/ChangeLog @@ -1,3 +1,8 @@ +Fri Nov 22 09:02:32 1991 John Gilmore (gnu at cygnus.com) + + * sysdep-norm.h, sysdep-aix.h: Add , which POSIX + requires to make work. Improve Sun alloca decl. + Thu Nov 21 18:48:08 1991 John Gilmore (gnu at cygnus.com) * Makefile.in: Clean up ../glob/tilde.c -> tilde.o path. diff --git a/readline/sysdep-aix.h b/readline/sysdep-aix.h index 4487c8ccdc9..40c983a19c7 100644 --- a/readline/sysdep-aix.h +++ b/readline/sysdep-aix.h @@ -1,5 +1,6 @@ /* System-dependent stuff for AIX 3.1 on RS/6000 */ #pragma alloca +#include #include typedef struct dirent dirent; diff --git a/readline/sysdep-newsos.h b/readline/sysdep-newsos.h index 96078a23c10..dbed7624593 100755 --- a/readline/sysdep-newsos.h +++ b/readline/sysdep-newsos.h @@ -1,4 +1,4 @@ -/* System-dependent stuff, for ``normal'' systems */ +/* System-dependent stuff, for Sony NEwS systems */ #ifdef __GNUC__ #define alloca __builtin_alloca diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h index d091c4a3c38..098665937c4 100644 --- a/readline/sysdep-norm.h +++ b/readline/sysdep-norm.h @@ -5,11 +5,12 @@ #else #if defined (sparc) && defined (sun) #include -#else -extern char *alloca (); #endif +extern char *alloca (); #endif +#include /* Needed by dirent.h */ + #if defined (USG) && defined (TIOCGWINSZ) #include #if defined (USGr4) || defined (USGr3) diff --git a/readline/sysdep-oldbsd.h b/readline/sysdep-oldbsd.h index 96078a23c10..dbed7624593 100755 --- a/readline/sysdep-oldbsd.h +++ b/readline/sysdep-oldbsd.h @@ -1,4 +1,4 @@ -/* System-dependent stuff, for ``normal'' systems */ +/* System-dependent stuff, for Sony NEwS systems */ #ifdef __GNUC__ #define alloca __builtin_alloca -- 2.30.2