diff options
author | Mark Michelson <mmichelson@digium.com> | 2007-09-12 16:24:45 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2007-09-12 16:24:45 +0000 |
commit | 3a6e79ad80f7bc037bf4b6424147d06b7377eaa8 (patch) | |
tree | 570f09319a24484f44e08ae4ea4af7a64d86d8d5 /main/pbx.c | |
parent | 99fb378cdc336207cadd64f245bb112c3587b6c0 (diff) |
Fixes Solaris build warnings
(closes issue #10698, reported and patched by snuffy)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/pbx.c b/main/pbx.c index 666f33458..c879c5834 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -40,6 +40,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #if defined(HAVE_SYSINFO) #include <sys/sysinfo.h> #endif +#if defined(SOLARIS) +#include <sys/loadavg.h> +#endif #include "asterisk/lock.h" #include "asterisk/cli.h" |