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>
This commit is contained in:
Andreas Färber 2010-09-20 00:50:46 +02:00 committed by Blue Swirl
parent aff447c916
commit 5dc2eec957
1 changed files with 1 additions and 1 deletions

2
nbd.c
View File

@ -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>