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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82628
@ -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…
Reference in New Issue
Block a user