diff options
author | ache <ache@FreeBSD.org> | 1998-04-28 06:22:20 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1998-04-28 06:22:20 +0000 |
commit | 27ef633cd3f7fd5fb6cb033edd2c1747a6e59acb (patch) | |
tree | 6dc2ca04460e2afc2586db7905a62d8345684052 /contrib/libreadline/examples/rl.c | |
parent | 53ee3efdd804d38a5c57372c0722804607ceb256 (diff) | |
download | FreeBSD-src-27ef633cd3f7fd5fb6cb033edd2c1747a6e59acb.zip FreeBSD-src-27ef633cd3f7fd5fb6cb033edd2c1747a6e59acb.tar.gz |
V2.2 import
Diffstat (limited to 'contrib/libreadline/examples/rl.c')
-rw-r--r-- | contrib/libreadline/examples/rl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/libreadline/examples/rl.c b/contrib/libreadline/examples/rl.c index 6c2f343..ccddd0f 100644 --- a/contrib/libreadline/examples/rl.c +++ b/contrib/libreadline/examples/rl.c @@ -12,7 +12,7 @@ #define READLINE_LIBRARY #if defined (HAVE_CONFIG_H) -#include <config.h> +# include <config.h> #endif #include <stdio.h> @@ -24,7 +24,9 @@ extern int optind; extern char *optarg; +#if !defined (strchr) && !defined (__STDC__) extern char *strrchr(); +#endif static char *progname; static char *deftext; |