BeOS/BONE compile fix

This commit is contained in:
Eric Petit 2006-10-17 18:48:04 +00:00
parent 7750ecfb51
commit 773a0ff0b6
1 changed files with 3 additions and 1 deletions

View File

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