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