aboutsummaryrefslogtreecommitdiff
path: root/readline
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
parentb51d8b229de6624b8bf2e632bc35a2b8ed1874c6 (diff)
downloadfsf-binutils-gdb-6df61f79578f02667a8d493371f81844b30d9f0e.zip
fsf-binutils-gdb-6df61f79578f02667a8d493371f81844b30d9f0e.tar.gz
fsf-binutils-gdb-6df61f79578f02667a8d493371f81844b30d9f0e.tar.bz2
* history.c: #include "sysdep.h".
Diffstat (limited to 'readline')
-rw-r--r--readline/ChangeLog4
-rw-r--r--readline/history.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/readline/ChangeLog b/readline/ChangeLog
index 25f6a19..467410e 100644
--- a/readline/ChangeLog
+++ b/readline/ChangeLog
@@ -1,3 +1,7 @@
+Tue Nov 19 15:02:13 1991 Stu Grossman (grossman at cygnus.com)
+
+ * history.c: #include "sysdep.h".
+
Tue Nov 19 10:49:17 1991 Fred Fish (fnf at cygnus.com)
* Makefile.in, config/hm-sysv, config/hm-sco: Change SYSV to
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__ */