projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aff447c
)
nbd: Haiku has _IO() in its BSD compatibility layer
author
Andreas Färber
<andreas.faerber@web.de>
Sun, 19 Sep 2010 22:50:46 +0000
(
00:50
+0200)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 3 Oct 2010 06:31:33 +0000
(06:31 +0000)
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
nbd.c
patch
|
blob
|
history
diff --git
a/nbd.c
b/nbd.c
index 4bf2eb7cb07fafcd72f1e66be50c2a7951aef284..d8ebc4298fc0f5bd85b7ea1ff7eafd1cdb723af8 100644
(file)
--- a/
nbd.c
+++ b/
nbd.c
@@
-23,7
+23,7
@@
#ifndef _WIN32
#include <sys/ioctl.h>
#endif
-#if
def __sun__
+#if
defined(__sun__) || defined(__HAIKU__)
#include <sys/ioccom.h>
#endif
#include <ctype.h>