aboutsummaryrefslogtreecommitdiff
path: root/block-raw.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2006-12-21 19:14:11 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2006-12-21 19:14:11 +0000
commit1cb6c3fd3815c4a5aa3ec1fb6ff291e64b8baf8e (patch)
treee6fcaae6314a47274238b9e91201f2934e62ed36 /block-raw.c
parenteaf7e70b014464294ce9622dc47b0f17a099fbb7 (diff)
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
Diffstat (limited to 'block-raw.c')
-rw-r--r--block-raw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/block-raw.c b/block-raw.c
index 3a2843c5d6..e6cc31affe 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