diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-15 16:48:11 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-15 16:48:11 +0000 |
commit | e585d2a432272f10f30419918a2f5c7167cac622 (patch) | |
tree | 79cf0fc80873d5128b6e6d828cc17f120f9be2e1 /block-raw-posix.c | |
parent | 39cf6c6b4e44135cb9d44c424b472807da2eb404 (diff) | |
download | qemu-e585d2a432272f10f30419918a2f5c7167cac622.tar.gz qemu-e585d2a432272f10f30419918a2f5c7167cac622.tar.bz2 qemu-e585d2a432272f10f30419918a2f5c7167cac622.zip |
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
Diffstat (limited to 'block-raw-posix.c')
-rw-r--r-- | block-raw-posix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/block-raw-posix.c b/block-raw-posix.c index e314f4ae4c..833907186a 100644 --- a/block-raw-posix.c +++ b/block-raw-posix.c @@ -1149,6 +1149,11 @@ static int raw_ioctl(BlockDriverState *bs, unsigned long int req, void *buf) } #else +static int fd_open(BlockDriverState *bs) +{ + return 0; +} + static int raw_is_inserted(BlockDriverState *bs) { return 1; |