diff options
Diffstat (limited to 'readline/examples/rlversion.c')
-rw-r--r-- | readline/examples/rlversion.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/readline/examples/rlversion.c b/readline/examples/rlversion.c index 53949d1e3b7..6c8687488e9 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 |