diff options
author | Jim Meyering <jim@meyering.net> | 2000-07-04 17:37:43 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-07-04 17:37:43 +0000 |
commit | 1954ebfb9384405b77b1270c26d5d6e1e30e4741 (patch) | |
tree | 8eea1e8576177079418e1f49f58c37e4bda16639 /lib | |
parent | 1f058330625413c32ae4feaa70ca9a71dfb6f4e9 (diff) | |
download | coreutils-1954ebfb9384405b77b1270c26d5d6e1e30e4741.tar.xz |
[!HAVE_DECL_STRNLEN]: Declare strnlen.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strndup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/strndup.c b/lib/strndup.c index 6f59717cf..136e51c73 100644 --- a/lib/strndup.c +++ b/lib/strndup.c @@ -31,6 +31,13 @@ char *malloc (); #endif +#ifndef HAVE_DECL_STRNLEN +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_STRNLEN +size_t strnlen (); +#endif + #undef __strndup #undef strndup |