From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] compiling problem fixed Date: Wed, 11 May 2005 15:20:27 +0200 Message-ID: References: <20050503142916.GA3281@tuba> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20050503142916.GA3281@tuba> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Martin Langer Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 3 May 2005 16:29:16 +0200, Martin Langer wrote: > > [1 ] > This fixes a 2.4 compiling problem on alpha. GFP_KERNEL was undeclared. > > Signed-Off-by: Martin Langer > [2 adriver.patch ] > --- include/adriver.h.ORIGINAL 2005-05-03 15:57:09.000000000 +0200 > +++ include/adriver.h 2005-05-03 16:09:16.000000000 +0200 > @@ -23,6 +23,7 @@ > */ > > #include > +#include > > #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 2, 3) > #error "This driver requires Linux 2.2.3 or higher." It's not nice to put to this place. It always includes the file. Where does this error happen? In the gameport wrapper inline function? If so, try to include just before it so that it doesn't affect to other kernel versions. Takashi ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click