]> git.proxmox.com Git - qemu.git/blobdiff - nbd.c
virtio-serial: Disallow generic ports at id 0
[qemu.git] / 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>