--- /dev/null
+/* System-dependent stuff, for SGI irix */
+
+#ifdef __GNUC__
+#define alloca __builtin_alloca
+#else
+extern char *alloca ();
+#endif
+
+#include <sys/types.h>
+#include <sys/stream.h>
+#include <sys/dir.h>
+typedef struct direct dirent;
--- /dev/null
+/* System-dependent stuff, for ``normal'' systems */
+
+#ifdef __GNUC__
+#define alloca __builtin_alloca
+#else
+extern char *alloca ();
+#endif
+
+#include <sys/dir.h>
+typedef struct direct dirent;
--- /dev/null
+/* System-dependent stuff, for ``normal'' systems */
+
+#ifdef __GNUC__
+#define alloca __builtin_alloca
+#else
+extern char *alloca ();
+#endif
+
+#include <sys/dir.h>
+typedef struct direct dirent;
--- /dev/null
+/* System-dependent stuff, for SCO systems */
+
+#include <malloc.h>
+
+#ifdef __GNUC__
+#define alloca __builtin_alloca
+#endif
+
+#include <sys/types.h>
+#include <sys/stream.h>
+#include <sys/ptem.h>
+#include <dirent.h>
+typedef struct dirent dirent;