From 41b640d30dc12dbb5cebbf7316a191efdd6f2c74 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sat, 13 Jul 2013 16:37:05 +0200 Subject: common: Implement stpcpy() replacement for systems lacking it --- common/utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/utils.h') 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 -- cgit v1.1-32-gdbae