diff options
-rw-r--r-- | main/asterisk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index ccacc6aa6..9b8b3f78a 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -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) |