diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-03 23:52:23 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-03 23:52:23 +0000 |
commit | 56b0d2b61092f26c3d7a615f126ac7febcdc80be (patch) | |
tree | 8556344e6941117294764a7eb2aa375b16008797 | |
parent | 7d0ee37cde49007569b674404b6123584195185f (diff) |
Merged revisions 90753 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90753 | tilghman | 2007-12-03 17:50:51 -0600 (Mon, 03 Dec 2007) | 5 lines
Solaris requires the inclusion of sys/loadavg.h for getloadavg().
Reported by: snuffy
Patch by: snuffy,tilghman
(Closes issue #11430)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90760 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | include/asterisk/compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index c6ee280f4..43da49bc0 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -138,6 +138,7 @@ size_t strlcpy(char *dst, const char *src, size_t siz); #include <sys/stat.h> #include <signal.h> #include <netinet/in.h> +#include <sys/loadavg.h> #include <dat/dat_platform_specific.h> #ifndef BYTE_ORDER |