Message ID | 4BFD8388.9060904@helmutauer.de (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
--- 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>