Revert previous delta; <arpa/inet.h> isn't quite ready to stop including
<sys/types.h>.
This commit is contained in:
parent
30ff437cd4
commit
9f5709b101
@ -60,26 +60,11 @@
|
||||
|
||||
/* External definitions for functions in inet(3), addr2ascii(3) */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/endian.h>
|
||||
|
||||
struct in_addr;
|
||||
|
||||
#ifdef _BSD_IN_ADDR_T_
|
||||
typedef _BSD_IN_ADDR_T_ in_addr_t;
|
||||
#undef _BSD_IN_ADDR_T_
|
||||
#endif
|
||||
|
||||
#ifdef _BSD_IN_PORT_T_
|
||||
typedef _BSD_IN_PORT_T_ in_port_t;
|
||||
#undef _BSD_IN_ADDR_T_
|
||||
#endif
|
||||
|
||||
#ifdef _BSD_SIZE_T_
|
||||
typedef _BSD_SIZE_T_ size_t;
|
||||
#undef _BSD_SIZE_T_
|
||||
#endif
|
||||
|
||||
/* XXX all new diversions!! argh!! */
|
||||
#define inet_addr __inet_addr
|
||||
#define inet_aton __inet_aton
|
||||
|
Loading…
x
Reference in New Issue
Block a user