[dahdi-commits] tzafrir: linux/trunk r4467 - /linux/trunk/drivers/dahdi/xpp/xdefs.h

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Sat Jun 28 03:12:00 CDT 2008


Author: tzafrir
Date: Sat Jun 28 03:11:59 2008
New Revision: 4467

URL: http://svn.digium.com/view/dahdi?view=rev&rev=4467
Log:
Fixes building with kernel of RHEl 5.2. Closes issue #12889 .

Modified:
    linux/trunk/drivers/dahdi/xpp/xdefs.h

Modified: linux/trunk/drivers/dahdi/xpp/xdefs.h
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/xpp/xdefs.h?view=diff&rev=4467&r1=4466&r2=4467
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/xdefs.h (original)
+++ linux/trunk/drivers/dahdi/xpp/xdefs.h Sat Jun 28 03:11:59 2008
@@ -114,7 +114,12 @@
 				} while(0);
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
+/* Also don't define this for later RHEL >= 5.2 . hex_asc is from the 
+ * same linux-2.6-net-infrastructure-updates-to-mac80211-iwl4965.patch
+ * as is the bool typedef. */
+#if LINUX_VERSION_CODE != KERNEL_VERSION(2,6,18)  || !  defined(hex_asc)
 typedef int			bool;
+#endif
 #endif
 #else
 typedef int			bool;




More information about the dahdi-commits mailing list