BeOS/BONE compile fix
This commit is contained in:
parent
7750ecfb51
commit
773a0ff0b6
|
@ -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 New Issue