aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_phone.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-09 16:53:25 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-09 16:53:25 +0000
commit863c817196d4f0d9e14c97eb637a4460add42f55 (patch)
tree9bd2190849b5e60d96794318bfc13a5e7bcd776a /channels/chan_phone.c
parent861a12e40a786610176a9e7b30a10ec1b712a444 (diff)
Merged revisions 47379 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47379 | file | 2006-11-09 11:48:05 -0500 (Thu, 09 Nov 2006) | 2 lines Don't include compiler.h on kernels 2.6.18 and higher as, well, it's apparently going to be removed. This should make all you FC6 fans happy as your Asterisk will now build without any mods. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47380 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_phone.c')
-rw-r--r--channels/chan_phone.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_phone.c b/channels/chan_phone.c
index 73c97386c..dd02c0e23 100644
--- a/channels/chan_phone.c
+++ b/channels/chan_phone.c
@@ -49,8 +49,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
/* Still use some IXJ specific stuff */
#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
# include <linux/compiler.h>
#endif
+#endif
#include <linux/ixjuser.h>
#include "asterisk/lock.h"