summaryrefslogtreecommitdiffstats
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-26 16:50:24 +1100
committerAndrew Tridgell <tridge@samba.org>2010-03-26 16:50:48 +1100
commitc81d2ae3c9a4f9b5d2291563f141bb10d64cd650 (patch)
tree24cdc8aa052e94add3cd4923b8d6ff7bf6db9885 /lib/replace/replace.h
parentaf807758e8d98ea53f58b2bae8f00b83074cfdec (diff)
downloadsamba-c81d2ae3c9a4f9b5d2291563f141bb10d64cd650.tar.gz
samba-c81d2ae3c9a4f9b5d2291563f141bb10d64cd650.tar.xz
samba-c81d2ae3c9a4f9b5d2291563f141bb10d64cd650.zip
libreplace: strerror_r() is needed by heimdal on solaris8
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r--lib/replace/replace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index cd73e65bea..9eb6604c96 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -512,6 +512,11 @@ ssize_t rep_pwrite(int __fd, const void *__buf, size_t __nbytes, off_t __offset)
char *rep_get_current_dir_name(void);
#endif
+#ifndef HAVE_STRERROR_R
+#define strerror_r rep_strerror_r
+char *rep_strerror_r(int errnum, char *buf, size_t buflen);
+#endif
+
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif