aboutsummaryrefslogtreecommitdiffstats
path: root/tools/rfc822parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rfc822parse.c')
-rw-r--r--tools/rfc822parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/rfc822parse.c b/tools/rfc822parse.c
index ee81b5d90..412599b63 100644
--- a/tools/rfc822parse.c
+++ b/tools/rfc822parse.c
@@ -155,7 +155,7 @@ capitalize_header_name (unsigned char *name)
#ifndef HAVE_STPCPY
static char *
-stpcpy (char *a,const char *b)
+my_stpcpy (char *a,const char *b)
{
while (*b)
*a++ = *b++;
@@ -163,6 +163,7 @@ stpcpy (char *a,const char *b)
return (char*)a;
}
+#define stpcpy my_stpcpy
#endif