Merged revisions 90753 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 3 Dec 2007 23:52:23 +0000 (23:52 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 3 Dec 2007 23:52:23 +0000 (23:52 +0000)
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

include/asterisk/compat.h

index c6ee280..43da49b 100644 (file)
@@ -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