aboutsummaryrefslogtreecommitdiff
path: root/readline/sysdep-irix.h
diff options
context:
space:
mode:
Diffstat (limited to 'readline/sysdep-irix.h')
-rw-r--r--readline/sysdep-irix.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/readline/sysdep-irix.h b/readline/sysdep-irix.h
new file mode 100644
index 0000000..e69de15
--- /dev/null
+++ b/readline/sysdep-irix.h
@@ -0,0 +1,12 @@
+/* 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;