qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 4/8] nbd: Haiku has _IO() in its BSD compatibility l


From: Andreas Färber
Subject: [Qemu-devel] [PATCH 4/8] nbd: Haiku has _IO() in its BSD compatibility layer
Date: Mon, 20 Sep 2010 00:50:46 +0200

Signed-off-by: Andreas Färber <address@hidden>
---
 nbd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nbd.c b/nbd.c
index 011b50f..d4c0ab2 100644
--- 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>
-- 
1.7.1.rc2.7.g3e7f1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]