summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-09-22 11:16:47 -0700
committerBjörn Jacke <bj@sernet.de>2010-09-22 11:18:59 -0700
commit9b73bb0099d6b33d9e951895be3c877628b6c7dd (patch)
treebac0b5a38e027b2a24f1441cb4ebd628a450d67a /lib/replace
parent0027af02d2d0114b2e1e06b49e590db1efe38879 (diff)
downloadsamba-9b73bb0099d6b33d9e951895be3c877628b6c7dd.tar.gz
samba-9b73bb0099d6b33d9e951895be3c877628b6c7dd.tar.bz2
samba-9b73bb0099d6b33d9e951895be3c877628b6c7dd.zip
libreplace: fix endless strerror_r has been redefined warnings on AIX
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/replace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 055dd7172f..8fde16c52d 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -513,6 +513,7 @@ char *rep_get_current_dir_name(void);
#endif
#if !defined(HAVE_STRERROR_R) || !defined(STRERROR_R_PROTO_COMPATIBLE)
+#undef strerror_r
#define strerror_r rep_strerror_r
int rep_strerror_r(int errnum, char *buf, size_t buflen);
#endif