[4/8] nbd: Haiku has _IO() in its BSD compatibility layer

Submitted by Andreas Färber on Sept. 19, 2010, 10:50 p.m.

Details

Message ID 1284936650-1203-5-git-send-email-andreas.faerber@web.de
State New
Headers show

Commit Message

Andreas Färber Sept. 19, 2010, 10:50 p.m.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
---
 nbd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

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>