summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2012-09-15 00:47:10 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2012-09-15 00:47:10 +0000
commitb8005e84f7f252e93a42d945290512c185156084 (patch)
treed51500072a07f4778f4251b87b6a045c98725b87 /sys/netinet6/in6.h
parent96cb08314b92757feed28175fe6860f2d3854e6a (diff)
Improve POSIX/SUS compliance of <netdb.h>, <sys/socket.h>, and <sys/un.h>.
Much ports testing of various versions by naddy@ and jasper@ ok matthew@, miller@
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 664bca96119..70a5f0858c6 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.h,v 1.57 2012/07/10 11:49:42 guenther Exp $ */
+/* $OpenBSD: in6.h,v 1.58 2012/09/15 00:47:08 guenther Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
@@ -769,6 +769,12 @@ int in6_mask2len(struct in6_addr *, u_char *);
#endif /* _KERNEL */
#if __BSD_VISIBLE
+
+#ifndef _SOCKLEN_T_DEFINED_
+#define _SOCKLEN_T_DEFINED_
+typedef __socklen_t socklen_t; /* length type for network syscalls */
+#endif
+
__BEGIN_DECLS
struct cmsghdr;