diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-11-23 19:14:15 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-11-23 19:14:15 -0500 |
commit | 6bac173ff2ec52b8e03b6e4cec67fffa5e4e3826 (patch) | |
tree | 90a88e8b0194af1bb4a7f7d7987e2f170a524345 /examples/rltest.c | |
parent | fc06b0af27b485addc67a148e5e5ca061c2efdb6 (diff) | |
download | readline-6bac173ff2ec52b8e03b6e4cec67fffa5e4e3826.tar.gz |
Readline-5.1 import
Diffstat (limited to 'examples/rltest.c')
-rw-r--r-- | examples/rltest.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/rltest.c b/examples/rltest.c index 99f083b..cb67bab 100644 --- a/examples/rltest.c +++ b/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" |