aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2001-08-31 03:29:48 +0000
committerMike Barcroft <mike@FreeBSD.org>2001-08-31 03:29:48 +0000
commit9f5709b1011ca99017aa03b3b0a1419ef18db649 (patch)
tree800ce4c89bb0a4416be144d5877c94b1ba1963e0 /include
parent30ff437cd432dac88fe9414362d4148e1ab3be41 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/arpa/inet.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index 267c7f19218bd..fe60747a0da9b 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -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