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 5191241f1a..4cb89fa4b8 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 4487c8ccdc..40c983a19c 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 96078a23c1..dbed762459 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 d091c4a3c3..098665937c 100644 --- a/readline/sysdep-norm.h +++ b/readline/sysdep-norm.h @@ -5,10 +5,11 @@ #else #if defined (sparc) && defined (sun) #include -#else +#endif extern char *alloca (); #endif -#endif + +#include /* Needed by dirent.h */ #if defined (USG) && defined (TIOCGWINSZ) #include diff --git a/readline/sysdep-oldbsd.h b/readline/sysdep-oldbsd.h index 96078a23c1..dbed762459 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