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:
parent
aebe65d9e7
commit
0bad5fd12e
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue