[dahdi-commits] sruffell: linux/trunk r10303 - /linux/trunk/include/dahdi/kernel.h
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Wed Nov 2 13:59:07 CDT 2011
Author: sruffell
Date: Wed Nov 2 13:59:03 2011
New Revision: 10303
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10303
Log:
dahdi: Define POLLRDHUP on kernels < 2.6.17
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Modified:
linux/trunk/include/dahdi/kernel.h
Modified: linux/trunk/include/dahdi/kernel.h
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/include/dahdi/kernel.h?view=diff&rev=10303&r1=10302&r2=10303
==============================================================================
--- linux/trunk/include/dahdi/kernel.h (original)
+++ linux/trunk/include/dahdi/kernel.h Wed Nov 2 13:59:03 2011
@@ -1429,6 +1429,11 @@
} while (0)
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 17)
+#ifndef POLLRDHUP
+#define POLLRDHUP 0
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 14)
#define kzalloc(a, b) kcalloc(1, a, b)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 12)
@@ -1455,6 +1460,7 @@
#endif /* 2.6.11 */
#endif /* 2.6.12 */
#endif /* 2.6.14 */
+#endif /* 2.6.17 */
#endif /* 2.6.18 */
#endif /* 2.6.22 */
#endif /* 2.6.25 */
More information about the dahdi-commits
mailing list