mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
BeOS/BONE compile fix
This commit is contained in:
parent
7750ecfb51
commit
773a0ff0b6
1 changed files with 3 additions and 1 deletions
|
@ -51,9 +51,11 @@
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#ifdef SYS_BEOS
|
||||||
|
# define socklen_t uint32_t
|
||||||
|
#endif
|
||||||
#ifdef BEOS_NETSERVER
|
#ifdef BEOS_NETSERVER
|
||||||
# define in_port_t uint16_t
|
# define in_port_t uint16_t
|
||||||
# define socklen_t uint32_t
|
|
||||||
#else
|
#else
|
||||||
# include <arpa/inet.h>
|
# include <arpa/inet.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue