mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 22:58:21 +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)
|
||||
#include <sys/param.h>
|
||||
#include <sys/sysctl.h>
|
||||
#if defined(HAVE_SWAPCTL)
|
||||
#include <sys/swap.h>
|
||||
#endif
|
||||
#endif
|
||||
#include <regex.h>
|
||||
|
||||
#if defined(SOLARIS)
|
||||
|
Reference in New Issue
Block a user