X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fportab%2Fportab.h;h=a968a3b9bd924fbbe6e04eee47d1dc5f4f925e21;hp=208d3500342a1d2aba40b07a7eee0af9a4ec98c3;hb=6ac5a82eecb76ec35f3f484149ad668073a52620;hpb=e0da56fc7b1dae4e21dfda7e0ac8ad7594135986 diff --git a/src/portab/portab.h b/src/portab/portab.h index 208d3500..a968a3b9 100644 --- a/src/portab/portab.h +++ b/src/portab/portab.h @@ -157,6 +157,10 @@ extern size_t strlcpy PARAMS(( char *dst, const char *src, size_t size )); extern char * strdup PARAMS(( const char *s )); #endif +#ifndef HAVE_STRNDUP +extern char * strndup PARAMS((const char *s, size_t maxlen)); +#endif + #ifndef HAVE_STRTOK_R extern char * strtok_r PARAMS((char *str, const char *delim, char **saveptr)); #endif