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:
Olle Johansson 2009-01-12 14:35:09 +00:00
parent aebe65d9e7
commit 0bad5fd12e
1 changed files with 2 additions and 0 deletions

View File

@ -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)