diff options
Diffstat (limited to 'readline')
-rw-r--r-- | readline/ChangeLog | 5 | ||||
-rw-r--r-- | readline/sysdep-aix.h | 1 | ||||
-rwxr-xr-x | readline/sysdep-newsos.h | 2 | ||||
-rw-r--r-- | readline/sysdep-norm.h | 5 | ||||
-rwxr-xr-x | readline/sysdep-oldbsd.h | 2 |
5 files changed, 11 insertions, 4 deletions
diff --git a/readline/ChangeLog b/readline/ChangeLog index 5191241..4cb89fa 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 <sys/types.h>, which POSIX + requires to make <dirent.h> 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 4487c8c..40c983a 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 <sys/types.h> #include <dirent.h> typedef struct dirent dirent; diff --git a/readline/sysdep-newsos.h b/readline/sysdep-newsos.h index 96078a2..dbed762 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 d091c4a..0986659 100644 --- a/readline/sysdep-norm.h +++ b/readline/sysdep-norm.h @@ -5,11 +5,12 @@ #else #if defined (sparc) && defined (sun) #include <alloca.h> -#else -extern char *alloca (); #endif +extern char *alloca (); #endif +#include <sys/types.h> /* Needed by dirent.h */ + #if defined (USG) && defined (TIOCGWINSZ) #include <sys/stream.h> #if defined (USGr4) || defined (USGr3) diff --git a/readline/sysdep-oldbsd.h b/readline/sysdep-oldbsd.h index 96078a2..dbed762 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 |