aboutsummaryrefslogtreecommitdiffstats
path: root/package/compcache/patches/002-kernel-2.6.34-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/compcache/patches/002-kernel-2.6.34-compat.patch')
-rw-r--r--package/compcache/patches/002-kernel-2.6.34-compat.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/compcache/patches/002-kernel-2.6.34-compat.patch b/package/compcache/patches/002-kernel-2.6.34-compat.patch
new file mode 100644
index 0000000000..5cd8129f80
--- /dev/null
+++ b/package/compcache/patches/002-kernel-2.6.34-compat.patch
@@ -0,0 +1,10 @@
+--- a/ramzswap_drv.c
++++ b/ramzswap_drv.c
+@@ -23,6 +23,7 @@
+ #include <linux/device.h>
+ #include <linux/genhd.h>
+ #include <linux/highmem.h>
++#include <linux/slab.h>
+ #include <linux/string.h>
+ #include <linux/swap.h>
+ #include <linux/swapops.h>