From b8005e84f7f252e93a42d945290512c185156084 Mon Sep 17 00:00:00 2001 From: Philip Guenthe Date: Sat, 15 Sep 2012 00:47:10 +0000 Subject: Improve POSIX/SUS compliance of , , and . Much ports testing of various versions by naddy@ and jasper@ ok matthew@, miller@ --- sys/netinet6/in6.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/netinet6/in6.h') 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; -- cgit v1.2.3