From: Andreas Färber Date: Sun, 19 Sep 2010 22:50:48 +0000 (+0200) Subject: slirp: Silence warning on Haiku X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~7124 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a2b39d3232fea40d3e396a683f27f5e378ae46e;p=sdk%2Femulator%2Fqemu.git slirp: Silence warning on Haiku Haiku has O_BINARY in fcntl.h. Signed-off-by: Andreas Färber Cc: Jan Kiszka Signed-off-by: Blue Swirl --- 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