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>
This commit is contained in:
parent
3ee66dfa52
commit
4a2b39d323
@ -24,7 +24,9 @@ typedef char *caddr_t;
|
|||||||
#else
|
#else
|
||||||
# define ioctlsocket ioctl
|
# define ioctlsocket ioctl
|
||||||
# define closesocket(s) close(s)
|
# define closesocket(s) close(s)
|
||||||
# define O_BINARY 0
|
# if !defined(__HAIKU__)
|
||||||
|
# define O_BINARY 0
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user