Message ID | 1284936650-1203-7-git-send-email-andreas.faerber@web.de |
---|---|
State | New |
Headers | show |
diff --git a/slirp/slirp.h b/slirp/slirp.h index 3a5d592..6c7488c 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -24,7 +24,9 @@ typedef char *caddr_t; #else # define ioctlsocket ioctl # define closesocket(s) close(s) -# define O_BINARY 0 +# if !defined(__HAIKU__) +# define O_BINARY 0 +# endif #endif #include <sys/types.h>
Haiku has O_BINARY in fcntl.h. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Cc: Jan Kiszka <jan.kiszka@web.de> --- slirp/slirp.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)