aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1991-11-21 22:50:49 +0000
committerStu Grossman <grossman@cygnus>1991-11-21 22:50:49 +0000
commit56858b957584cfea899e4e0d0b4d62b70fef4a69 (patch)
tree0944a2323da5c40702234582bdfa0918c9960cf7 /readline
parenta4ff7962b2cd286b5561fd77fbef3e36885f15c0 (diff)
downloadfsf-binutils-gdb-56858b957584cfea899e4e0d0b4d62b70fef4a69.zip
fsf-binutils-gdb-56858b957584cfea899e4e0d0b4d62b70fef4a69.tar.gz
fsf-binutils-gdb-56858b957584cfea899e4e0d0b4d62b70fef4a69.tar.bz2
Fixup dirent<->direct stuff.
Diffstat (limited to 'readline')
-rw-r--r--readline/sysdep-aix.h2
-rw-r--r--readline/sysdep-norm.h10
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;