diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-03 23:50:51 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-03 23:50:51 +0000 |
commit | 282784ee1ceeddbf4431dfeb43c626c53102f33a (patch) | |
tree | 164500e46de7dbb894959ad54a8b2392930c14b9 /include | |
parent | 8f1017d3f916760e950beda9ee4e294a68b1b8c1 (diff) |
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/branches/1.4@90753 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-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 838e24e47..2c131527d 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -84,6 +84,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 |