aboutsummaryrefslogtreecommitdiff
path: root/readline/sysdep-norm.h
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/sysdep-norm.h
parenta4ff7962b2cd286b5561fd77fbef3e36885f15c0 (diff)
downloadgdb-56858b957584cfea899e4e0d0b4d62b70fef4a69.zip
gdb-56858b957584cfea899e4e0d0b4d62b70fef4a69.tar.gz
gdb-56858b957584cfea899e4e0d0b4d62b70fef4a69.tar.bz2
Fixup dirent<->direct stuff.
Diffstat (limited to 'readline/sysdep-norm.h')
-rw-r--r--readline/sysdep-norm.h10
1 files changed, 10 insertions, 0 deletions
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;