aboutsummaryrefslogtreecommitdiff
path: root/readline/history.c
diff options
context:
space:
mode:
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__ */