1
0
Fork 0
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:
Eric Petit 2006-10-17 18:48:04 +00:00
parent 7750ecfb51
commit 773a0ff0b6

View file

@ -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