aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-12 16:24:45 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-12 16:24:45 +0000
commit894372bbe84725756b37d4a221c5c5e77b4ddada (patch)
tree570f09319a24484f44e08ae4ea4af7a64d86d8d5 /main/asterisk.c
parent6fa2c158ccddb95d834c53ca65ed99fe05d65d0d (diff)
Fixes Solaris build warnings
(closes issue #10698, reported and patched by snuffy) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82283 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/asterisk.c')
-rw-r--r--main/asterisk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index 7a4acf628..ce6cedf66 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -95,6 +95,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <netdb.h>
#if defined(SOLARIS)
int daemon(int, int); /* defined in libresolv of all places */
+#include <sys/loadavg.h>
#endif
#endif