Hi,
This fix,
/qemu/hw/ide.c: In function `ide_atapi_io_error':
/qemu/hw/ide.c:972: error: `ENOMEDIUM' undeclared (first use in this
function)
on Darwin and certainly on other *BSDs
Pierre.
Index: vl.h
===================================================================
RCS file: /sources/qemu/qemu/vl.h,v
retrieving revision 1.177
diff -u -r1.177 vl.h
--- vl.h 24 Jan 2007 21:40:21 -0000 1.177
+++ vl.h 26 Jan 2007 14:51:15 -0000
@@ -44,6 +44,9 @@
#ifndef O_BINARY
#define O_BINARY 0
#endif
+#ifndef ENOMEDIUM
+#define ENOMEDIUM ENODEV
+#endif
#ifdef __sun__
#define ENOMEDIUM 4097
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel