From: Jim Meyering Date: Wed, 3 May 2000 08:37:40 +0000 (+0000) Subject: (!HAVE_DECL_STRNDUP): Declare strndup. X-Git-Tag: v4.5.1~5018 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6d69926e64f2bcad6326f988beadf01cdbc1b93;p=thirdparty%2Fcoreutils.git (!HAVE_DECL_STRNDUP): Declare strndup. --- diff --git a/src/sys2.h b/src/sys2.h index 89af5bbcc8..11fd05f4aa 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -283,6 +283,10 @@ char *stpcpy (); # endif #endif +#if !HAVE_DECL_STRNDUP +char *strndup (); +#endif + #if !HAVE_DECL_STRSTR char *strstr (); #endif