summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDwayne M. Hubbard <dwayne.hubbard@gmail.com>2007-04-11 20:59:08 +0000
committerDwayne M. Hubbard <dwayne.hubbard@gmail.com>2007-04-11 20:59:08 +0000
commit6a5f3599bb7a75c00e82e831501d7e001e1f30a0 (patch)
tree7b9dbbf4a9b21e666ae7e463f54805043acf2251 /include
parent97d93d091befc9c69ca042c9ff8a4c5ba32c8d1a (diff)
added HAVE_SYSINFO preprocessor directives for portability and general happiness
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h
index 27c53d926..d52b710c2 100644
--- a/include/asterisk/options.h
+++ b/include/asterisk/options.h
@@ -113,7 +113,9 @@ extern int option_verbose;
extern int option_debug; /*!< Debugging */
extern int option_maxcalls; /*!< Maximum number of simultaneous channels */
extern double option_maxload;
+#if HAVE_SYSINFO
extern long option_minmemfree; /*!< Minimum amount of free system memory - stop accepting calls if free memory falls below this watermark */
+#endif
extern char defaultlanguage[];
extern time_t ast_startuptime;