diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-15 18:53:58 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-15 18:53:58 +0000 |
commit | 56d69c7a8464e0b9ddedaff5f356f4c19656efe3 (patch) | |
tree | de7d1c2fd7e9cd166afb756e8222993f76ea68b3 /sys | |
parent | 34ec02001ddf2bffa4def78d0457f8b592e716ea (diff) |
add socklen_t
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/types.h b/sys/sys/types.h index c606bba8847..065f5a51b39 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -1,4 +1,4 @@ -/* $OpenBSD: types.h,v 1.14 1999/01/07 23:38:59 millert Exp $ */ +/* $OpenBSD: types.h,v 1.15 1999/02/15 18:53:57 millert Exp $ */ /* $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ */ /*- @@ -94,6 +94,7 @@ typedef int32_t suseconds_t; /* microseconds (signed) */ typedef u_int32_t in_addr_t; /* base type for internet address */ typedef u_int16_t in_port_t; /* IP port type */ typedef u_int8_t sa_family_t; /* sockaddr address family type */ +typedef u_int32_t socklen_t; /* length type for network syscalls */ /* * These belong in unistd.h, but are placed here too to ensure that |