mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +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 <fcntl.h>
|
||||
#include <assert.h>
|
||||
#ifdef SYS_BEOS
|
||||
# define socklen_t uint32_t
|
||||
#endif
|
||||
#ifdef BEOS_NETSERVER
|
||||
# define in_port_t uint16_t
|
||||
# define socklen_t uint32_t
|
||||
#else
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue