Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2HRm-0003v9-Qp for qemu-devel@nongnu.org; Tue, 31 Aug 2004 18:49:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2HRl-0003uh-7L for qemu-devel@nongnu.org; Tue, 31 Aug 2004 18:49:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2HRl-0003uX-4n for qemu-devel@nongnu.org; Tue, 31 Aug 2004 18:49:49 -0400 Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C2HMo-0006Kt-0a for qemu-devel@nongnu.org; Tue, 31 Aug 2004 18:44:42 -0400 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1C2HMn-00016E-00 for ; Wed, 01 Sep 2004 00:44:41 +0200 Received: from sigint.stanford.edu ([171.64.73.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Sep 2004 00:44:41 +0200 Received: from blp by sigint.stanford.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Sep 2004 00:44:41 +0200 From: Ben Pfaff Date: Tue, 31 Aug 2004 15:45:46 -0700 Message-ID: <87hdqjhqp1.fsf@benpfaff.org> References: <4134FC39.700@ecs.umass.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: news Subject: [Qemu-devel] Re: port to netbsd Reply-To: blp@cs.stanford.edu, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org David Howland writes: > the problem seems to be that bswap.h tries to define functions named > bswap16 and bswap32, when NetBSD already uses these names. They > conflict with stuff in sys/byte_swap.h that comes from when dyngen.c > includes fcntl.h. At this point, I dunno what to do. Rename one set of functions or the other. It's probably easier to rename qemu's set. -- "Premature optimization is the root of all evil." --D. E. Knuth, "Structured Programming with go to Statements"