From: Olle Johansson Date: Mon, 12 Jan 2009 14:35:09 +0000 (+0000) Subject: Don't include swap.h unless we have swapctl X-Git-Tag: 1.6.2.0-beta1~471 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bad5fd12ed55487b8a68d2f7a8df8890de83d9b;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/asterisk.c b/main/asterisk.c index ccacc6aa6d..9b8b3f78a1 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -81,8 +81,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #elif defined(HAVE_SYSCTL) #include #include +#if defined(HAVE_SWAPCTL) #include #endif +#endif #include #if defined(SOLARIS)