diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-12-30 20:46:00 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-12-30 20:46:00 +0000 |
commit | ebfa5800c711887708ff2318db3495ef76ae5f68 (patch) | |
tree | 207e2d36522daac14d375e82458293ea8f3e2ad8 /lib | |
parent | 4f2bbd409f1845b7d0a18cca8a3dd4d497ab8277 (diff) |
Currently sys/socket.h needs sys/types.h so add #include <sys/types.h> to
the list of necessary includes. Now the manpages match reality.
OK mpf@ millert@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/ethers.3 | 3 | ||||
-rw-r--r-- | lib/libc/net/if_indextoname.3 | 3 | ||||
-rw-r--r-- | lib/libc/net/inet_net.3 | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3 index 5f961b4246a..fac9c590e39 100644 --- a/lib/libc/net/ethers.3 +++ b/lib/libc/net/ethers.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ethers.3,v 1.17 2005/10/02 14:48:48 jmc Exp $ +.\" $OpenBSD: ethers.3,v 1.18 2005/12/30 20:45:59 claudio Exp $ .\" .\" Written by roland@frob.com. Public domain. .\" @@ -13,6 +13,7 @@ .Nm ether_line .Nd get ethers entry .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/socket.h> .Fd #include <net/if.h> .Fd #include <netinet/in.h> diff --git a/lib/libc/net/if_indextoname.3 b/lib/libc/net/if_indextoname.3 index b0545a5060b..da2330b8613 100644 --- a/lib/libc/net/if_indextoname.3 +++ b/lib/libc/net/if_indextoname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: if_indextoname.3,v 1.9 2005/07/22 04:50:51 jaredy Exp $ +.\" $OpenBSD: if_indextoname.3,v 1.10 2005/12/30 20:45:59 claudio Exp $ .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -38,6 +38,7 @@ .Nm if_freenameindex .Nd convert interface index to name, and vice versa .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/socket.h> .Fd #include <net/if.h> .Ft "unsigned int" diff --git a/lib/libc/net/inet_net.3 b/lib/libc/net/inet_net.3 index 569ddfc5c63..a763bb12a51 100644 --- a/lib/libc/net/inet_net.3 +++ b/lib/libc/net/inet_net.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet_net.3,v 1.11 2005/07/22 04:50:51 jaredy Exp $ +.\" $OpenBSD: inet_net.3,v 1.12 2005/12/30 20:45:59 claudio Exp $ .\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -43,6 +43,7 @@ .Nm inet_net_pton .Nd Internet network number manipulation routines .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/socket.h> .Fd #include <netinet/in.h> .Fd #include <arpa/inet.h> |