]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commitdiff
Fix "inaccessible boot device" on FreeBSD, by Juergen Lock.
authorths <ths>
Thu, 21 Dec 2006 19:14:11 +0000 (19:14 +0000)
committerths <ths>
Thu, 21 Dec 2006 19:14:11 +0000 (19:14 +0000)
block-raw.c

index 3a2843c5d66119dd1a9decfb0f8c1910a4601054..e6cc31affebfbaec0f7853595e30e2aed6c3a9b5 100644 (file)
@@ -51,6 +51,9 @@
 #include <linux/cdrom.h>
 #include <linux/fd.h>
 #endif
+#ifdef __FreeBSD__
+#include <sys/disk.h>
+#endif
 
 //#define DEBUG_FLOPPY