From: Stu Grossman Date: Thu, 21 Nov 1991 22:50:49 +0000 (+0000) Subject: Fixup dirent<->direct stuff. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56858b957584cfea899e4e0d0b4d62b70fef4a69;p=binutils-gdb.git Fixup dirent<->direct stuff. --- 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;