aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-03 23:50:51 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-03 23:50:51 +0000
commit282784ee1ceeddbf4431dfeb43c626c53102f33a (patch)
tree164500e46de7dbb894959ad54a8b2392930c14b9
parent8f1017d3f916760e950beda9ee4e294a68b1b8c1 (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
-rw-r--r--include/asterisk/compat.h1
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