aboutsummaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2010-09-20 00:50:46 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-10-03 06:31:33 +0000
commit5dc2eec957a67fc3250dc437175265636cd36c2a (patch)
treeb56525cbbda5026858ff25506efc6d17066c1a61 /nbd.c
parentaff447c9164f23d72154a487c6dac9de001d9f63 (diff)
nbd: Haiku has _IO() in its BSD compatibility layer
Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'nbd.c')
-rw-r--r--nbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbd.c b/nbd.c
index 4bf2eb7cb0..d8ebc4298f 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>