From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mxz.fh-kl.de ([143.93.17.66]:52462 "EHLO mxz.fh-kl.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752860Ab3HOMkr (ORCPT ); Thu, 15 Aug 2013 08:40:47 -0400 Message-ID: <520CCC49.2010609@fh-kl.de> (sfid-20130815_144049_053899_A40BACE5) Date: Thu, 15 Aug 2013 14:40:41 +0200 From: Patrick Ziegler MIME-Version: 1.0 To: "Luis R. Rodriguez" CC: Subject: [PATCH v3 07/10] backports: include headers directly if math64 header is missing References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-15" Sender: backports-owner@vger.kernel.org List-ID: 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 --- 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 +#else +#include +#include #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@fh-kl.de PGP KeyID 0xB4796B8C http://www.fh-kl.de http://www.fh-kl.de/fachbereiche/imst/iuk-knowhow.html