diff options
author | Stu Grossman <grossman@cygnus> | 1991-11-21 22:50:49 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1991-11-21 22:50:49 +0000 |
commit | 56858b957584cfea899e4e0d0b4d62b70fef4a69 (patch) | |
tree | 0944a2323da5c40702234582bdfa0918c9960cf7 /readline | |
parent | a4ff7962b2cd286b5561fd77fbef3e36885f15c0 (diff) | |
download | gdb-56858b957584cfea899e4e0d0b4d62b70fef4a69.zip gdb-56858b957584cfea899e4e0d0b4d62b70fef4a69.tar.gz gdb-56858b957584cfea899e4e0d0b4d62b70fef4a69.tar.bz2 |
Fixup dirent<->direct stuff.
Diffstat (limited to 'readline')
-rw-r--r-- | readline/sysdep-aix.h | 2 | ||||
-rw-r--r-- | readline/sysdep-norm.h | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/readline/sysdep-aix.h b/readline/sysdep-aix.h index 9d7bfc5..4487c8c 100644 --- a/readline/sysdep-aix.h +++ b/readline/sysdep-aix.h @@ -1,3 +1,5 @@ /* System-dependent stuff for AIX 3.1 on RS/6000 */ #pragma alloca +#include <dirent.h> +typedef struct dirent dirent; diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h index e96e431..d091c4a 100644 --- a/readline/sysdep-norm.h +++ b/readline/sysdep-norm.h @@ -9,3 +9,13 @@ extern char *alloca (); #endif #endif + +#if defined (USG) && defined (TIOCGWINSZ) +#include <sys/stream.h> +#if defined (USGr4) || defined (USGr3) +#include <sys/ptem.h> +#endif /* USGr4 */ +#endif /* USG && TIOCGWINSZ */ + +#include <dirent.h> +typedef struct dirent dirent; |