aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-decls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libctf/ctf-decls.h')
-rw-r--r--libctf/ctf-decls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libctf/ctf-decls.h b/libctf/ctf-decls.h
index c47a72e..e1ada3b 100644
--- a/libctf/ctf-decls.h
+++ b/libctf/ctf-decls.h
@@ -72,4 +72,8 @@ void ctf_qsort_r (void *base, size_t nmemb, size_t size,
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) < (b) ? (a) : (b))
+#if !HAVE_DECL_STPCPY
+extern char *stpcpy (char *, const char *);
+#endif
+
#endif /* _CTF_DECLS_H */