diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-08-13 13:32:12 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-08-13 13:32:12 +0000 |
commit | c5a037c0b0972c6240e65934527d3f592c6970af (patch) | |
tree | 2225838e05801c498ca487929376eac3b25f16a1 /lib | |
parent | d8bccfcd3680f648a8b1d0a88789edada324066b (diff) | |
download | mailutils-c5a037c0b0972c6240e65934527d3f592c6970af.tar.gz mailutils-c5a037c0b0972c6240e65934527d3f592c6970af.tar.bz2 |
Provide declarations for strchrnul, strndup if necessary.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/argp-help.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/argp-help.c b/lib/argp-help.c index e94b01e87..5e7398987 100644 --- a/lib/argp-help.c +++ b/lib/argp-help.c @@ -75,6 +75,14 @@ char *alloca (); #include "argp.h" #include "argp-fmtstream.h" #include "argp-namefrob.h" + +#if !HAVE_DECL_STRCHRNUL +extern char *strchrnul __P((const char *s, int c_in)); +#endif +#if !HAVE_DECL_STRNDUP +extern char *strndup __P((const char *s, size_t n)); +#endif + /* User-selectable (using an environment variable) formatting parameters. |