summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--block-raw-posix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block-raw-posix.c b/block-raw-posix.c
index 267d6c07bd..c0404fad5e 100644
--- a/block-raw-posix.c
+++ b/block-raw-posix.c
@@ -748,6 +748,7 @@ static void raw_aio_cancel(BlockDriverAIOCB *blockacb)
 #else /* CONFIG_AIO */
 static int posix_aio_init(void)
 {
+    return 0;
 }
 #endif /* CONFIG_AIO */