From: Patrick Ziegler Date: Thu, 15 Aug 2013 12:40:41 +0000 (+0200) Subject: backports: include headers directly if math64 header is missing X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7b5a229fec7c2e040a0be0562f219aa9b113589f;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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)