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 <patrick.ziegler@xxxxxxxx> --- 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 7f3a81b..775c2d3 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 <linux/math64.h> +#else +#include <linux/types.h> +#include <asm/div64.h> #endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)) */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) -- 1.8.1.2 -- Dipl.-Inf. (FH) Patrick Ziegler University Of Applied Sciences Kaiserslautern Amerikastrasse 1 D-66482 Zweibruecken Germany Phone: +49 631 3724 5526 Mail: patrick.ziegler@xxxxxxxx PGP KeyID 0xB4796B8C http://www.fh-kl.de http://www.fh-kl.de/fachbereiche/imst/iuk-knowhow.html -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html