[asterisk-commits] file: branch 1.2 r47379 -
	/branches/1.2/channels/chan_phone.c
    asterisk-commits at lists.digium.com 
    asterisk-commits at lists.digium.com
       
    Thu Nov  9 09:48:05 MST 2006
    
    
  
Author: file
Date: Thu Nov  9 10:48:05 2006
New Revision: 47379
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47379
Log:
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.
Modified:
    branches/1.2/channels/chan_phone.c
Modified: branches/1.2/channels/chan_phone.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_phone.c?view=diff&rev=47379&r1=47378&r2=47379
==============================================================================
--- branches/1.2/channels/chan_phone.c (original)
+++ branches/1.2/channels/chan_phone.c Thu Nov  9 10:48:05 2006
@@ -38,7 +38,9 @@
 /* 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>
 
    
    
More information about the asterisk-commits
mailing list