aboutsummaryrefslogtreecommitdiff
path: root/plugins/common.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/common.h.in')
-rw-r--r--plugins/common.h.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/common.h.in b/plugins/common.h.in
index 72817028..535ae4a0 100644
--- a/plugins/common.h.in
+++ b/plugins/common.h.in
@@ -87,6 +87,22 @@
# define strtoul(a,b,c) (unsigned long)atol((a))
#endif
+#ifndef HAVE_ASPRINTF
+int asprintf(char **strp, const char *fmt, ...);
+#endif
+
+#ifndef HAVE_VASPRINTF
+/* int vasprintf(char **strp, const char *fmt, va_list ap); */
+#endif
+
+#ifndef HAVE_SNPRINTF
+int snprintf(char *str, size_t size, const char *format, ...);
+#endif
+
+#ifndef HAVE_VSNPRINTF
+int vsnprintf(char *str, size_t size, const char *format, va_list ap);
+#endif
+
/*
*
* Standard Values