summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2007-12-03 23:52:23 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2007-12-03 23:52:23 +0000
commit3d0e1c746ae8eb4f108275f4440bc9777a044054 (patch)
tree8556344e6941117294764a7eb2aa375b16008797
parent72cafad6a2098cfb48975e42a61289e3e82039c5 (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: https://origsvn.digium.com/svn/asterisk/trunk@90760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-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 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