From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L60qd-0004dZ-C1 for qemu-devel@nongnu.org; Fri, 28 Nov 2008 05:45:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L60qb-0004cC-Fa for qemu-devel@nongnu.org; Fri, 28 Nov 2008 05:45:18 -0500 Received: from [199.232.76.173] (port=56665 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L60qb-0004c4-BH for qemu-devel@nongnu.org; Fri, 28 Nov 2008 05:45:17 -0500 Received: from outbound-sin.frontbridge.com ([207.46.51.80]:32812 helo=SG2EHSOBE002.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1L60qa-0006kJ-MV for qemu-devel@nongnu.org; Fri, 28 Nov 2008 05:45:17 -0500 From: Christoph Egger Date: Fri, 28 Nov 2008 12:39:06 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_Lp8LJDKoP7Aw6s5" Message-ID: <200811281139.07092.Christoph.Egger@amd.com> Subject: [Qemu-devel] [PATCH 5/6] qemu fixes Reply-To: 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 Cc: Blue Swirl --Boundary-00=_Lp8LJDKoP7Aw6s5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, This is a series of four patches which improve support for qemu on NetBSD. sys-queue.h defines _SYS_QUEUE_H_ which is also defined by the system header. uses SLIST_ENTRY on NetBSD, which doesn't exist in sys-queue.h. Therefore, include before including sys-queue.h. Signed-off-by: Christoph Egger =2D-=20 AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Gesch=E4ftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplement=E4r: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Gesch=E4ftsf=FChrer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy --Boundary-00=_Lp8LJDKoP7Aw6s5 Content-Type: text/x-diff; charset="us-ascii"; name="block_qemu.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="block_qemu.diff" Index: block.c =================================================================== --- block.c (revision 5805) +++ block.c (working copy) @@ -21,6 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "config-host.h" +#ifdef _BSD /* include native header before sys-queue.h */ +#include +#endif + #include "qemu-common.h" #include "console.h" #include "block_int.h" @@ -29,7 +34,6 @@ #include #include #include -#include #include #endif --Boundary-00=_Lp8LJDKoP7Aw6s5--