summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-12-14 17:34:13 +0000
committerJim Meyering <jim@meyering.net>2002-12-14 17:34:13 +0000
commitec2a27c16b0df6a8d187c001ca02cae4ea440815 (patch)
treed3e52068acf5e4f761014b31ec7c78bc80b0d6d2 /src/system.h
parent80579847f4991bb3c6181caa4e82d8057cad9bdd (diff)
downloadcoreutils-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/system.h')
-rw-r--r--src/system.h3
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