From: Akio Takebe Subject: Re: [Patch] fix compilation Date: Mon, 02 Jun 2008 16:09:56 +0900 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , xen-devel Cc: Akio Takebe List-Id: xen-devel@lists.xenproject.org Hi, Keir >I don't think we've ever modified that source file, and it builds okay >usually. My environment is Fedora9. I suspect my environment causes the error. I checked the latest linux tree, and I found the following patch. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=fc31c7716355a226b8ed4e16f4581e5c8fa53570;hp=d1ab423502e787e264b4797a5fa200d804c4fd63 We probably need to backport it. I made a patch based on the above patch. Signed-off-by: Akio Takebe diff -r 557a4a0a5eac scripts/mod/sumversion.c --- a/scripts/mod/sumversion.c Fri May 30 19:08:50 2008 +0100 +++ b/scripts/mod/sumversion.c Tue Jun 03 01:09:18 2008 +0900 @@ -7,6 +7,7 @@ #include #include #include +#include #include "modpost.h" /*