diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-01-18 22:43:16 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-01-18 22:43:16 +0000 |
commit | 7f1c9da99804235212888abda7ba7f06ee3afc70 (patch) | |
tree | f28827874e1b44c5b841d22fa8986a0b02832845 /block.c | |
parent | 284ec167e75d24aec95a7d0eec4837449ad83fb3 (diff) |
Darwin build fix, by Pierre d'Herbemont.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2334 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -35,6 +35,10 @@ #define SECTOR_BITS 9 #define SECTOR_SIZE (1 << SECTOR_BITS) +#ifndef ENOMEDIUM +#define ENOMEDIUM ENODEV +#endif + typedef struct BlockDriverAIOCBSync { BlockDriverAIOCB common; QEMUBH *bh; |