summaryrefslogtreecommitdiff
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace/replace.h')
-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