diff options
Diffstat (limited to 'readline/examples/rlcat.c')
-rw-r--r-- | readline/examples/rlcat.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/readline/examples/rlcat.c b/readline/examples/rlcat.c index 176b9f44b68..33aea4a3007 100644 --- a/readline/examples/rlcat.c +++ b/readline/examples/rlcat.c @@ -40,6 +40,12 @@ #include <string.h> #include <errno.h> +#ifdef HAVE_STDLIB_H +# include <stdlib.h> +#else +extern void exit(); +#endif + #ifndef errno extern int errno; #endif |