]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't include compiler.h on kernels 2.6.18 and higher as, well, it's apparently going...
authorJoshua Colp <jcolp@digium.com>
Thu, 9 Nov 2006 16:48:05 +0000 (16:48 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 9 Nov 2006 16:48:05 +0000 (16:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47379 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_phone.c

index 65257d507985855721d84319fa538d571dee94de..84bf508c51af8cce1ed35b8980d18739c785df5f 100644 (file)
 /* 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.h"