From 0feecf4de9d94cd903a7db373b8cd5cb0eef1987 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 1 Jul 2015 14:12:47 -0700 Subject: [PATCH] Fix Linux 4.2 compilation errors. Signed-off-by: Vinson Lee --- src/flashcache_conf.c | 1 + src/flashcache_kcopy.c | 1 + src/flashcache_subr.c | 1 + 3 files changed, 3 insertions(+) diff --git a/src/flashcache_conf.c b/src/flashcache_conf.c index 43f4387..0ca05f7 100644 --- a/src/flashcache_conf.c +++ b/src/flashcache_conf.c @@ -41,6 +41,7 @@ #include #include #include +#include #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) #include "dm.h" diff --git a/src/flashcache_subr.c b/src/flashcache_subr.c index 8d0bae5..ef931d4 100644 --- a/src/flashcache_subr.c +++ b/src/flashcache_subr.c @@ -41,6 +41,7 @@ #include #include #include +#include #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) #include "dm.h"