aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-24 03:39:29 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-24 03:39:29 +0000
commit870b7e572dab611717acf7d2b0150cbb549c1b78 (patch)
treed92db233d0dd6f17d20abe74ac8e80eddfcb6339 /include/asterisk/compat.h
parentcfb6e8df353ffd5f438c28c63152924aead62e89 (diff)
Merged revisions 288637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r288637 | tilghman | 2010-09-23 22:36:01 -0500 (Thu, 23 Sep 2010) | 9 lines Merged revisions 288636 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r288636 | tilghman | 2010-09-23 22:20:24 -0500 (Thu, 23 Sep 2010) | 2 lines Solaris compatibility fixes ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@288638 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r--include/asterisk/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index 22daeaef9..78c267105 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -133,6 +133,10 @@ int unsetenv(const char *name);
int __attribute__((format(printf, 2, 0))) vasprintf(char **strp, const char *fmt, va_list ap);
#endif
+#ifndef HAVE_TIMERSUB
+void timersub(struct timeval *tvend, struct timeval *tvstart, struct timeval *tvdiff);
+#endif
+
#define strlcat __use__ast_str__functions_not__strlcat__
#define strlcpy __use__ast_copy_string__not__strlcpy__