From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: build problem with new ioemu Date: Fri, 18 Jul 2008 14:08:22 +0100 Message-ID: References: <200807181459.24305.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200807181459.24305.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger , xen-devel@lists.xensource.com Cc: Ian Jackson , Pat Campbell List-Id: xen-devel@lists.xenproject.org On 18/7/08 13:59, "Christoph Egger" wrote: >> Old code did: >> /* Some versions of usbdevice_fs.h need __user to be defined for them. */ >> /* This may (harmlessly) conflict with a definition in linux/compiler.h. */ >> #define __user >> #include >> >> Not sure which is the better solution >> >> Pat > > This patch works. Tnx. > > Keir: Please apply it. IanJ is on it. The old approach is better than linux/compiler.h since not all systems have that header (and if they do, may not define __user). -- Keir