commit | 1cb6c3fd3815c4a5aa3ec1fb6ff291e64b8baf8e | [log] [tgz] |
---|---|---|
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | Thu Dec 21 19:14:11 2006 +0000 |
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | Thu Dec 21 19:14:11 2006 +0000 |
tree | e6fcaae6314a47274238b9e91201f2934e62ed36 | |
parent | eaf7e70b014464294ce9622dc47b0f17a099fbb7 [diff] [blame] |
Fix "inaccessible boot device" on FreeBSD, by Juergen Lock. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2258 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/block-raw.c b/block-raw.c index 3a2843c..e6cc31a 100644 --- a/block-raw.c +++ b/block-raw.c
@@ -51,6 +51,9 @@ #include <linux/cdrom.h> #include <linux/fd.h> #endif +#ifdef __FreeBSD__ +#include <sys/disk.h> +#endif //#define DEBUG_FLOPPY