summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/include/endian.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/include/endian.h b/sys/arch/i386/include/endian.h
index e7eb3be5284..37420cd889f 100644
--- a/sys/arch/i386/include/endian.h
+++ b/sys/arch/i386/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.5 1996/11/25 14:44:26 niklas Exp $ */
+/* $OpenBSD: endian.h,v 1.6 1997/04/04 03:05:31 millert Exp $ */
/* $NetBSD: endian.h,v 1.16 1995/06/01 17:19:18 mycroft Exp $ */
/*
@@ -60,6 +60,9 @@
#include <sys/cdefs.h>
+typedef u_int32_t in_addr_t;
+typedef u_int16_t in_port_t;
+
__BEGIN_DECLS
u_int32_t htonl __P((u_int32_t));
u_int16_t htons __P((u_int16_t));