]> git.proxmox.com Git - mirror_qemu.git/commitdiff
nbd: Haiku has _IO() in its BSD compatibility layer
authorAndreas Färber <andreas.faerber@web.de>
Sun, 19 Sep 2010 22:50:46 +0000 (00:50 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 3 Oct 2010 06:31:33 +0000 (06:31 +0000)
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
nbd.c

diff --git a/nbd.c b/nbd.c
index 4bf2eb7cb07fafcd72f1e66be50c2a7951aef284..d8ebc4298fc0f5bd85b7ea1ff7eafd1cdb723af8 100644 (file)
--- a/nbd.c
+++ b/nbd.c
@@ -23,7 +23,7 @@
 #ifndef _WIN32
 #include <sys/ioctl.h>
 #endif
-#ifdef __sun__
+#if defined(__sun__) || defined(__HAIKU__)
 #include <sys/ioccom.h>
 #endif
 #include <ctype.h>