Fixup dirent<->direct stuff.
[binutils-gdb.git] / readline / sysdep-norm.h
index e96e431ba1efb5ba2808543845336b6c35cf54eb..d091c4a3c3806cdf78c5cf9eb5fcfe8c90559e4e 100644 (file)
@@ -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;