summaryrefslogtreecommitdiffstats
path: root/plugins/common.h.in
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-11-08 07:20:05 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-11-08 07:20:05 (GMT)
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 7281702..535ae4a 100644
--- a/plugins/common.h.in
+++ b/plugins/common.h.in
@@ -87,6 +87,22 @@
87# define strtoul(a,b,c) (unsigned long)atol((a)) 87# define strtoul(a,b,c) (unsigned long)atol((a))
88#endif 88#endif
89 89
90#ifndef HAVE_ASPRINTF
91int asprintf(char **strp, const char *fmt, ...);
92#endif
93
94#ifndef HAVE_VASPRINTF
95/* int vasprintf(char **strp, const char *fmt, va_list ap); */
96#endif
97
98#ifndef HAVE_SNPRINTF
99int snprintf(char *str, size_t size, const char *format, ...);
100#endif
101
102#ifndef HAVE_VSNPRINTF
103int vsnprintf(char *str, size_t size, const char *format, va_list ap);
104#endif
105
90/* 106/*
91 * 107 *
92 * Standard Values 108 * Standard Values