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