Signed-off-by: Andreas Färber <andreas.faer...@web.de> --- 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