diff options
author | Jim Meyering <jim@meyering.net> | 2002-12-14 17:34:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-12-14 17:34:13 +0000 |
commit | ec2a27c16b0df6a8d187c001ca02cae4ea440815 (patch) | |
tree | d3e52068acf5e4f761014b31ec7c78bc80b0d6d2 /src | |
parent | 80579847f4991bb3c6181caa4e82d8057cad9bdd (diff) | |
download | coreutils-ec2a27c16b0df6a8d187c001ca02cae4ea440815.tar.xz |
[! HAVE_DECL_MEMRCHR]: Declare memrchr.
This is necessary at least for Irix6.5 when using c89.
Reported by Nelson Beebe.
Diffstat (limited to 'src')
-rw-r--r-- | src/system.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h index d227ba447..9654672c5 100644 --- a/src/system.h +++ b/src/system.h @@ -116,6 +116,9 @@ struct utimbuf #else # include <strings.h> #endif +#if ! HAVE_DECL_MEMRCHR +void *memrchr (const void *, int, size_t); +#endif #include <errno.h> #ifndef errno |