diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2006-04-20 20:05:52 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2006-04-20 20:05:52 +0000 |
commit | b585a9fad59f9d0c07681778b97d36b67bd9748d (patch) | |
tree | d809e30a40f38fd19b05d2cbd920187e84108432 /readline/examples/rlcat.c | |
parent | 84041b4c47edb0461f3b82afb77ca2d81819ebfa (diff) | |
download | gdb-b585a9fad59f9d0c07681778b97d36b67bd9748d.zip gdb-b585a9fad59f9d0c07681778b97d36b67bd9748d.tar.gz gdb-b585a9fad59f9d0c07681778b97d36b67bd9748d.tar.bz2 |
import of readlilne 5.1FSF
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 176b9f4..33aea4a 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 |