From: Avi Kivity <[email protected]>

It does not build on Windows.

Signed-off-by: Avi Kivity <[email protected]>

diff --git a/Makefile b/Makefile
index 1e09953..25a6df3 100644
--- a/Makefile
+++ b/Makefile
@@ -67,7 +67,7 @@ block-obj-y = cutils.o cache-utils.o qemu-malloc.o 
qemu-option.o module.o
 block-obj-y += nbd.o block.o aio.o aes.o osdep.o
 block-obj-$(CONFIG_POSIX) += posix-aio-compat.o
 block-obj-$(CONFIG_LINUX_AIO) += linux-aio.o
-block-obj-y += compatfd.o
+block-obj-$(CONFIG_POSIX) += compatfd.o
 
 block-nested-y += cow.o qcow.o vdi.o vmdk.o cloop.o dmg.o bochs.o vpc.o vvfat.o
 block-nested-y += qcow2.o qcow2-refcount.o qcow2-cluster.o qcow2-snapshot.o
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to