From 7b5a229fec7c2e040a0be0562f219aa9b113589f Mon Sep 17 00:00:00 2001 From: Patrick Ziegler Date: Thu, 15 Aug 2013 14:40:41 +0200 Subject: [PATCH] backports: include headers directly if math64 header is missing If math64 header is not available, include div64.h directly. It is required for do_div() that is used inside the backport version of math64.h. Signed-off-by: Patrick Ziegler Signed-off-by: Luis R. Rodriguez --- backport/backport-include/linux/math64.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backport/backport-include/linux/math64.h b/backport/backport-include/linux/math64.h index 7f3a81b54e56..775c2d37128f 100644 --- a/backport/backport-include/linux/math64.h +++ b/backport/backport-include/linux/math64.h @@ -5,6 +5,9 @@ #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)) #include_next +#else +#include +#include #endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)) */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) -- 2.30.2