changeset 1975 | 8e173dddd183 |
parent 1580 | 1baac79a40cf |
child 2024 | 96e2ae6cce95 |
child 2421 | bc2d4bf9cbe5 |
--- a/examples/mini/mini.c Mon Oct 25 16:33:41 2010 +0200 +++ b/examples/mini/mini.c Mon Oct 25 16:45:33 2010 +0200 @@ -33,6 +33,10 @@ #include <linux/interrupt.h> #include <linux/err.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 34) +#include <linux/slab.h> +#endif + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) #include <linux/semaphore.h> #else