aboutsummaryrefslogtreecommitdiff
path: root/readline/examples/rlversion.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/rlversion.c
parent84041b4c47edb0461f3b82afb77ca2d81819ebfa (diff)
downloadgdb-FSF.zip
gdb-FSF.tar.gz
gdb-FSF.tar.bz2
import of readlilne 5.1FSF
Diffstat (limited to 'readline/examples/rlversion.c')
-rw-r--r--readline/examples/rlversion.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/readline/examples/rlversion.c b/readline/examples/rlversion.c
index 53949d1..6c86874 100644
--- a/readline/examples/rlversion.c
+++ b/readline/examples/rlversion.c
@@ -30,6 +30,12 @@
#include <sys/types.h>
#include "posixstat.h"
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#else
+extern void exit();
+#endif
+
#ifdef READLINE_LIBRARY
# include "readline.h"
#else