openwrt/package/compcache/patches/002-kernel-2.6.34-compat.patch

11 lines
246 B
Diff

--- 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>