aboutsummaryrefslogtreecommitdiff
path: root/readline/sysdep-oldbsd.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1991-11-21 22:49:25 +0000
committerStu Grossman <grossman@cygnus>1991-11-21 22:49:25 +0000
commita4ff7962b2cd286b5561fd77fbef3e36885f15c0 (patch)
tree767063f5ed5b1653df84f3630c705a1cf8de5af0 /readline/sysdep-oldbsd.h
parente19c9d493286f8980d2232029203a66defad3634 (diff)
downloadgdb-a4ff7962b2cd286b5561fd77fbef3e36885f15c0.zip
gdb-a4ff7962b2cd286b5561fd77fbef3e36885f15c0.tar.gz
gdb-a4ff7962b2cd286b5561fd77fbef3e36885f15c0.tar.bz2
Initial revision
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;