block/raw-posix: Make hdev_aio_discard() available outside Linux
commitc36dd8a09fd8811ebcda453d80dc5f52402d691c
authorAndreas Färber <andreas.faerber@web.de>
Fri, 18 Jan 2013 15:43:35 +0000 (18 16:43 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 19 Jan 2013 14:35:02 +0000 (19 14:35 +0000)
tree2f46bd289e4ada4b70abf73e85de6f1dff360063
parentc1db29199e3caf5cd56daad08b8926ffa97da136
block/raw-posix: Make hdev_aio_discard() available outside Linux

Fixes the build on OpenBSD among others.

Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
block/raw-posix.c