diff options
author | Andreas Färber <andreas.faerber@web.de> | 2010-09-20 00:50:48 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-03 06:31:49 +0000 |
commit | 71ea3460b720740dcf8bdc3a0ea31a573e5a6cfb (patch) | |
tree | 2834f5e27e346e897119d157279e777e8073a53f /slirp.h | |
parent | e752243133fa620f7ed2c04d0f59eb6682d79e42 (diff) | |
download | slirp-71ea3460b720740dcf8bdc3a0ea31a573e5a6cfb.zip slirp-71ea3460b720740dcf8bdc3a0ea31a573e5a6cfb.tar.gz slirp-71ea3460b720740dcf8bdc3a0ea31a573e5a6cfb.tar.bz2 |
slirp: Silence warning on Haiku
Haiku has O_BINARY in fcntl.h.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Cc: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'slirp.h')
-rw-r--r-- | slirp.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -24,8 +24,10 @@ typedef char *caddr_t; #else #define ioctlsocket ioctl #define closesocket(s) close(s) +#if !defined(__HAIKU__) #define O_BINARY 0 #endif +#endif #include <sys/types.h> #ifdef HAVE_SYS_BITYPES_H |