Fixup dirent<->direct stuff.
authorStu Grossman <grossman@cygnus>
Thu, 21 Nov 1991 22:50:49 +0000 (22:50 +0000)
committerStu Grossman <grossman@cygnus>
Thu, 21 Nov 1991 22:50:49 +0000 (22:50 +0000)
readline/sysdep-aix.h
readline/sysdep-norm.h

index 9d7bfc5..4487c8c 100644 (file)
@@ -1,3 +1,5 @@
 /* System-dependent stuff for AIX 3.1 on RS/6000 */
 
 #pragma alloca
+#include <dirent.h>
+typedef struct dirent dirent;
index e96e431..d091c4a 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;