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,8 +24,10 @@ typedef char *caddr_t;
|
|||||||
#else
|
#else
|
||||||
# define ioctlsocket ioctl
|
# define ioctlsocket ioctl
|
||||||
# define closesocket(s) close(s)
|
# define closesocket(s) close(s)
|
||||||
|
# if !defined(__HAIKU__)
|
||||||
# define O_BINARY 0
|
# define O_BINARY 0
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifdef HAVE_SYS_BITYPES_H
|
#ifdef HAVE_SYS_BITYPES_H
|
||||||
|
Loading…
Reference in New Issue
Block a user