Commit c5a037c0 c5a037c0b0972c6240e65934527d3f592c6970af by Sergey Poznyakoff

Provide declarations for strchrnul, strndup if necessary.

1 parent d8bccfcd
......@@ -76,6 +76,14 @@ char *alloca ();
#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.
These may be specified in an environment variable called `ARGP_HELP_FMT',
......