[asterisk-commits] oej: trunk r168479 - /trunk/main/asterisk.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 12 08:35:09 CST 2009
Author: oej
Date: Mon Jan 12 08:35:09 2009
New Revision: 168479
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168479
Log:
Don't include swap.h unless we have swapctl
Modified:
trunk/main/asterisk.c
Modified: trunk/main/asterisk.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/main/asterisk.c?view=diff&rev=168479&r1=168478&r2=168479
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Mon Jan 12 08:35:09 2009
@@ -81,7 +81,9 @@
#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>
More information about the asterisk-commits
mailing list