Commit 08af02e25b3925f07ea236536955d40977661918
1 parent
ca4cca4d
Make sure to define fd_open when not on Linux
My previous commit broke the build. This was spotted by C.W. Betts. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5231 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
5 additions
and
0 deletions
block-raw-posix.c
... | ... | @@ -1149,6 +1149,11 @@ static int raw_ioctl(BlockDriverState *bs, unsigned long int req, void *buf) |
1149 | 1149 | } |
1150 | 1150 | #else |
1151 | 1151 | |
1152 | +static int fd_open(BlockDriverState *bs) | |
1153 | +{ | |
1154 | + return 0; | |
1155 | +} | |
1156 | + | |
1152 | 1157 | static int raw_is_inserted(BlockDriverState *bs) |
1153 | 1158 | { |
1154 | 1159 | return 1; | ... | ... |