qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] hw/e1000.c patch for Solaris


From: Ben Taylor
Subject: [Qemu-devel] hw/e1000.c patch for Solaris
Date: Mon, 4 Feb 2008 12:27:38 -0500

Solaris has boolean_t defined, so this #ifndef allows hw/e1000.c
to compile on Solaris.

Ben

--- qemu.ORIG/hw/e1000.c        2008-02-02 21:20:18.000000000 -0500
+++ qemu/hw/e1000.c     2008-02-04 10:39:33.097052000 -0500
@@ -28,7 +28,9 @@
 #include "net.h"

 #define __iomem
+#ifndef __sun__
 typedef int boolean_t;
+#endif
 #include "e1000_hw.h"

 #define DEBUG






reply via email to

[Prev in Thread] Current Thread [Next in Thread]