aboutsummaryrefslogtreecommitdiff
path: root/readline/history.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1991-11-19 23:05:55 +0000
committerStu Grossman <grossman@cygnus>1991-11-19 23:05:55 +0000
commit6df61f79578f02667a8d493371f81844b30d9f0e (patch)
tree36eae5c4a1cf2405cf8d52f5049daa0be2d46d61 /readline/history.c
parentb51d8b229de6624b8bf2e632bc35a2b8ed1874c6 (diff)
downloadgdb-6df61f79578f02667a8d493371f81844b30d9f0e.zip
gdb-6df61f79578f02667a8d493371f81844b30d9f0e.tar.gz
gdb-6df61f79578f02667a8d493371f81844b30d9f0e.tar.bz2
* history.c: #include "sysdep.h".
Diffstat (limited to 'readline/history.c')
-rw-r--r--readline/history.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/readline/history.c b/readline/history.c
index 9f0a41e..7946453 100644
--- a/readline/history.c
+++ b/readline/history.c
@@ -31,6 +31,7 @@ extern char *xmalloc (), *xrealloc ();
static char *xmalloc (), *xrealloc ();
#endif
+#include "sysdep.h"
#include <stdio.h>
#include <sys/types.h>
#include <sys/file.h>
@@ -42,8 +43,6 @@ static char *xmalloc (), *xrealloc ();
#else
# if defined (sparc) || defined (HAVE_ALLOCA_H)
# include <alloca.h>
-# else
-extern char *alloca ();
# endif /* sparc || HAVE_ALLOCA_H */
#endif /* !__GNU_C__ */