Commit 1cb6c3fd3815c4a5aa3ec1fb6ff291e64b8baf8e

Authored by ths
1 parent eaf7e70b

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
Showing 1 changed file with 3 additions and 0 deletions
block-raw.c
... ... @@ -51,6 +51,9 @@
51 51 #include <linux/cdrom.h>
52 52 #include <linux/fd.h>
53 53 #endif
  54 +#ifdef __FreeBSD__
  55 +#include <sys/disk.h>
  56 +#endif
54 57  
55 58 //#define DEBUG_FLOPPY
56 59  
... ...