aboutsummaryrefslogtreecommitdiff
path: root/readline/sysdep-oldbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'readline/sysdep-oldbsd.h')
-rwxr-xr-xreadline/sysdep-oldbsd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/readline/sysdep-oldbsd.h b/readline/sysdep-oldbsd.h
new file mode 100755
index 0000000..96078a2
--- /dev/null
+++ b/readline/sysdep-oldbsd.h
@@ -0,0 +1,10 @@
+/* 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;