From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMs9s-00080a-VB for qemu-devel@nongnu.org; Mon, 11 Sep 2006 16:13:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMs9s-0007zB-15 for qemu-devel@nongnu.org; Mon, 11 Sep 2006 16:13:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMs9r-0007yv-K3 for qemu-devel@nongnu.org; Mon, 11 Sep 2006 16:13:31 -0400 Received: from [84.96.92.60] (helo=Smtp.neuf.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GMsBC-0000Xw-Nz for qemu-devel@nongnu.org; Mon, 11 Sep 2006 16:14:54 -0400 Received: from [84.102.211.93] by sp604001mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0J5G003C92UG0YF0@sp604001mt.gpm.neuf.ld> for qemu-devel@nongnu.org; Mon, 11 Sep 2006 22:13:28 +0200 (CEST) Date: Mon, 11 Sep 2006 22:13:59 +0200 From: Fabrice Bellard Subject: Re: [Qemu-devel] [PATCH] Don't include In-reply-to: <1157959380.2977.191.camel@pmac.infradead.org> Message-id: <4505C387.5000801@bellard.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <1157959380.2977.191.camel@pmac.infradead.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dwmw2@infradead.org Cc: qemu-devel@nongnu.org The problem is that without this header it does not compile on some distributions (see old mailing list messages). Fabrice. David Woodhouse wrote: > This file is not one of the kernel headers which is exported to > userspace by the kernel. It should not exist in /usr/include/linux and > certainly shouldn't be included by userspace programs. > > diff -Naupr qemu-0.8.2.orig/usb-linux.c qemu-0.8.2/usb-linux.c > --- qemu-0.8.2.orig/usb-linux.c 2006-07-22 19:23:34.000000000 +0200 > +++ qemu-0.8.2/usb-linux.c 2006-08-23 18:47:16.000000000 +0200 > @@ -26,7 +26,6 @@ > #if defined(__linux__) > #include > #include > -#include > #include > #include > >