From: Jim Meyering Date: Sat, 14 Dec 2002 17:34:13 +0000 (+0000) Subject: [! HAVE_DECL_MEMRCHR]: Declare memrchr. X-Git-Tag: v4.5.5~404 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec2a27c16b0df6a8d187c001ca02cae4ea440815;p=thirdparty%2Fcoreutils.git [! HAVE_DECL_MEMRCHR]: Declare memrchr. This is necessary at least for Irix6.5 when using c89. Reported by Nelson Beebe. --- diff --git a/src/system.h b/src/system.h index d227ba4479..9654672c58 100644 --- a/src/system.h +++ b/src/system.h @@ -116,6 +116,9 @@ struct utimbuf #else # include #endif +#if ! HAVE_DECL_MEMRCHR +void *memrchr (const void *, int, size_t); +#endif #include #ifndef errno