diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-24 03:36:01 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-24 03:36:01 +0000 |
commit | a9697cb0f74cb1f50e4497bb70bf49357f0c425d (patch) | |
tree | bf26d3bf33b276ee1626c2a888e0d32e0d0c3d46 /include/asterisk/compat.h | |
parent | fcca2ea91a02e58717221a94f46085fa2405d7c2 (diff) |
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.6.2@288637 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r-- | include/asterisk/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index 519c71e68..365df66a1 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -113,6 +113,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 + #ifndef HAVE_STRLCAT size_t strlcat(char *dst, const char *src, size_t siz); #endif |