diff options
author | John Gilmore <gnu@cygnus> | 1991-11-22 17:07:42 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-11-22 17:07:42 +0000 |
commit | 3f73352f9061aff935a4dd2a693d877747edea53 (patch) | |
tree | ad28e198b2b127379c0c23238857de99ba3718c5 /readline/sysdep-norm.h | |
parent | de0da6cee0e05e46c0d0ffd1a56028038cd5987e (diff) | |
download | gdb-3f73352f9061aff935a4dd2a693d877747edea53.zip gdb-3f73352f9061aff935a4dd2a693d877747edea53.tar.gz gdb-3f73352f9061aff935a4dd2a693d877747edea53.tar.bz2 |
<sys/types.h> is required for <dirent.h>. Improve Sun alloca.
Diffstat (limited to 'readline/sysdep-norm.h')
-rw-r--r-- | readline/sysdep-norm.h | 5 |
1 files changed, 3 insertions, 2 deletions
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) |