summaryrefslogtreecommitdiffstats
path: root/include/arpa
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2001-08-31 03:29:48 +0000
committermike <mike@FreeBSD.org>2001-08-31 03:29:48 +0000
commit60684be8402ad563e3d0e20b12cf1dd4bc5e570b (patch)
tree800ce4c89bb0a4416be144d5877c94b1ba1963e0 /include/arpa
parentd959f91e72ce950cef66832d7d539f73c6b1a72c (diff)
downloadFreeBSD-src-60684be8402ad563e3d0e20b12cf1dd4bc5e570b.zip
FreeBSD-src-60684be8402ad563e3d0e20b12cf1dd4bc5e570b.tar.gz
Revert previous delta; <arpa/inet.h> isn't quite ready to stop including
<sys/types.h>.
Diffstat (limited to 'include/arpa')
-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 267c7f1..fe60747 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
OpenPOWER on IntegriCloud