aboutsummaryrefslogtreecommitdiffstats
path: root/include/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compat.h')
-rw-r--r--include/compat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/compat.h b/include/compat.h
index 5ed139678..686a9c9db 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -15,4 +15,11 @@ int ascii_strncasecmp( const char *a, const char *b, size_t n);
char *strsep (char **stringp, const char *delim);
#endif
+#if __GNUC__ >= 4
+char *xstrconcat (const char *s1, ...) __attribute__ ((sentinel(0)));
+#else
+char *xstrconcat (const char *s1, ...);
+#endif
+
+
#endif /* !_COMPAT_H_ */