diff mbox

v4l-dvb does not compile with kernel 2.6.34

Message ID 4BFD8388.9060904@helmutauer.de (mailing list archive)
State Not Applicable
Headers show

Commit Message

Helmut Auer May 26, 2010, 8:24 p.m. UTC
None
diff mbox

Patch

--- v4l/compat.h.org    2010-05-26 22:22:31.000000000 +0200
+++ v4l/compat.h        2010-05-26 22:22:43.000000000 +0200
@@ -28,6 +28,10 @@ 
 #include <linux/i2c-dev.h>
 #endif

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33)
+#include <linux/slab.h>
+#endif
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26)
 #ifdef CONFIG_PROC_FS
 #include <linux/module.h>