summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index 2c70b80..f1c1420 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -39,6 +39,9 @@
#include "libimobiledevice-glue/utils.h"
#ifndef HAVE_STPCPY
+#undef stpcpy
+char *stpcpy(char *s1, const char *s2);
+
/**
* Copy characters from one string into another
*