diff options
author | dhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-11 21:13:44 +0000 |
---|---|---|
committer | dhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-11 21:13:44 +0000 |
commit | 35b687d5dc4187e01afc6db9f44439ca11b8cfb0 (patch) | |
tree | 5988bccc4d26966e132b33f82dfd9dc3874468d3 /main/pbx.c | |
parent | 6c0a5da964f865787f36e8ea446cab27d0a14710 (diff) |
changed #if HAVE_SYSINFO to #if defined(HAVE_SYSINFO)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61576 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/pbx.c b/main/pbx.c index c90df8338..e916411ff 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -37,7 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include <time.h> #include <sys/time.h> #include <limits.h> -#if HAVE_SYSINFO +#if defined(HAVE_SYSINFO) #include <sys/sysinfo.h> #endif @@ -2455,7 +2455,7 @@ static int increase_call_count(const struct ast_channel *c) { int failed = 0; double curloadavg; -#if HAVE_SYSINFO +#if defined(HAVE_SYSINFO) long curfreemem; struct sysinfo sys_info; #endif @@ -2474,7 +2474,7 @@ static int increase_call_count(const struct ast_channel *c) failed = -1; } } -#if HAVE_SYSINFO +#if defined(HAVE_SYSINFO) if (option_minmemfree) { if (!sysinfo(&sys_info)) { /* make sure that the free system memory is above the configured low watermark |