mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-25 15:08:53 +00:00
Don't include swap.h unless we have swapctl
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -81,8 +81,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
|||||||
#elif defined(HAVE_SYSCTL)
|
#elif defined(HAVE_SYSCTL)
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
|
#if defined(HAVE_SWAPCTL)
|
||||||
#include <sys/swap.h>
|
#include <sys/swap.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#include <regex.h>
|
#include <regex.h>
|
||||||
|
|
||||||
#if defined(SOLARIS)
|
#if defined(SOLARIS)
|
||||||
|
Reference in New Issue
Block a user