diff options
author | Jim Meyering <jim@meyering.net> | 2000-06-03 21:47:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-06-03 21:47:37 +0000 |
commit | c588f96c3766d1d14f36edad3a7b24ab76031b65 (patch) | |
tree | 0cb14522b0f83df9d038948c26b752efaa87f893 /lib | |
parent | 51cee2cf8d8421938becf1b2de56bf1bd9e29120 (diff) | |
download | coreutils-c588f96c3766d1d14f36edad3a7b24ab76031b65.tar.xz |
[!HAVE_DECL_MEMCHR]: Declare memchr.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strnlen.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/strnlen.c b/lib/strnlen.c index 89f818526..dd22db92e 100644 --- a/lib/strnlen.c +++ b/lib/strnlen.c @@ -19,6 +19,13 @@ #include <string.h> +#ifndef HAVE_DECL_MEMCHR +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_MEMCHR +char *memchr (); +#endif + #undef __strnlen #undef strnlen |