projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aebe65d
)
Don't include swap.h unless we have swapctl
author
Olle Johansson
<oej@edvina.net>
Mon, 12 Jan 2009 14:35:09 +0000
(14:35 +0000)
committer
Olle Johansson
<oej@edvina.net>
Mon, 12 Jan 2009 14:35:09 +0000
(14:35 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168479
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/asterisk.c
patch
|
blob
|
history
diff --git
a/main/asterisk.c
b/main/asterisk.c
index
ccacc6a
..
9b8b3f7
100644
(file)
--- 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)