aboutsummaryrefslogtreecommitdiff
path: root/plugins/common.h.in
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2002-11-08 07:20:05 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2002-11-08 07:20:05 +0000
commit1c4dd10d70ba9ed6dead6cc56cd0f572627cf619 (patch)
tree62485f23a5478eb8a6ad6b2de1eac322bf195662 /plugins/common.h.in
parent34ba941736b434a6c1453feec35d04ed7b0a59e5 (diff)
downloadmonitoring-plugins-1c4dd10d70ba9ed6dead6cc56cd0f572627cf619.tar.gz
patches required to build on solaris with asprintf and gettimeofday
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@174 f882894a-f735-0410-b71e-b25c423dba1c
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