diff options
author | Martin Szulecki | 2013-07-13 16:37:05 +0200 |
---|---|---|
committer | Martin Szulecki | 2013-07-13 16:37:05 +0200 |
commit | 41b640d30dc12dbb5cebbf7316a191efdd6f2c74 (patch) | |
tree | 5ce003be6926143535018f7aa71bb420cb65ff98 /common/utils.h | |
parent | b8169cbeda3699f3c0159267815cf9a011149950 (diff) | |
download | libimobiledevice-41b640d30dc12dbb5cebbf7316a191efdd6f2c74.tar.gz libimobiledevice-41b640d30dc12dbb5cebbf7316a191efdd6f2c74.tar.bz2 |
common: Implement stpcpy() replacement for systems lacking it
Diffstat (limited to 'common/utils.h')
-rw-r--r-- | common/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/utils.h b/common/utils.h index 129f974..441d188 100644 --- a/common/utils.h +++ b/common/utils.h @@ -22,6 +22,9 @@ #ifndef __UTILS_H #define __UTILS_H +#ifndef HAVE_STPCPY +char *stpcpy(char * s1, const char * s2); +#endif char *string_concat(const char *str, ...); #endif |