[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] compiler.h include fix for usb-linux.c
From: |
Lonnie Mendez |
Subject: |
Re: [Qemu-devel] [PATCH] compiler.h include fix for usb-linux.c |
Date: |
Wed, 10 Jan 2007 17:18:39 -0600 |
On Thu, 2007-01-11 at 00:00 +0100, ( अमेय पाळंदे ) Ameya Palande wrote:
> On 1/10/07, Thiemo Seufer <address@hidden> wrote:
> > ( ???????????? ?????????????????? ) Ameya Palande wrote:
> > > Hi,
> > >
> > > Redhat and its derivatives don't have /usr/include/linux/compiler.h
> > > But debian, opensuse etc. have compiler.h
> > >
> > > Without including compiler.h in usb-linux.c build fails on opensuse.
> >
> > JFTR, it works on debian.
> >
> >
> > Thiemo
> >
>
> It works on debian because on debian /usr/include/linux/usbdevice_fs.h file
> includes <linux/compiler.h>
The issue before is that usb-linux.c should not be including
linux/compiler.h. See the xen approach to fixing this for the broken
distros:
http://xenbits2.xensource.com/xen-unstable.hg?rev/ba7487569374;style=rev
%3Dusb