From: John Gilmore Date: Fri, 22 Nov 1991 17:07:42 +0000 (+0000) Subject: is required for . Improve Sun alloca. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=3f73352f9061aff935a4dd2a693d877747edea53;p=deliverable%2Fbinutils-gdb.git is required for . Improve Sun alloca. --- 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,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 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