aboutsummaryrefslogtreecommitdiff
path: root/readline/examples/rltest.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2006-04-20 20:05:52 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2006-04-20 20:05:52 +0000
commitb585a9fad59f9d0c07681778b97d36b67bd9748d (patch)
treed809e30a40f38fd19b05d2cbd920187e84108432 /readline/examples/rltest.c
parent84041b4c47edb0461f3b82afb77ca2d81819ebfa (diff)
downloadgdb-b585a9fad59f9d0c07681778b97d36b67bd9748d.zip
gdb-b585a9fad59f9d0c07681778b97d36b67bd9748d.tar.gz
gdb-b585a9fad59f9d0c07681778b97d36b67bd9748d.tar.bz2
import of readlilne 5.1FSF
Diffstat (limited to 'readline/examples/rltest.c')
-rw-r--r--readline/examples/rltest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/readline/examples/rltest.c b/readline/examples/rltest.c
index 99f083b..cb67bab 100644
--- a/readline/examples/rltest.c
+++ b/readline/examples/rltest.c
@@ -31,6 +31,12 @@
#include <stdio.h>
#include <sys/types.h>
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#else
+extern void exit();
+#endif
+
#ifdef READLINE_LIBRARY
# include "readline.h"
# include "history.h"