From 56858b957584cfea899e4e0d0b4d62b70fef4a69 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Thu, 21 Nov 1991 22:50:49 +0000 Subject: [PATCH] Fixup dirent<->direct stuff. --- readline/sysdep-aix.h | 2 ++ readline/sysdep-norm.h | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/readline/sysdep-aix.h b/readline/sysdep-aix.h index 9d7bfc5b045..4487c8ccdc9 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 +typedef struct dirent dirent; diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h index e96e431ba1e..d091c4a3c38 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 +#if defined (USGr4) || defined (USGr3) +#include +#endif /* USGr4 */ +#endif /* USG && TIOCGWINSZ */ + +#include +typedef struct dirent dirent; -- 2.30.2