summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorclaudio <>2005-12-30 20:45:59 +0000
committerclaudio <>2005-12-30 20:45:59 +0000
commita1dabd50a20b20400ed3cb962396f97efdd353a3 (patch)
tree2a73af37dd461155189ed64f223060984db49b44 /src/lib
parent0f55eca59c73334b4dd11e2bbd51b2370c3c3752 (diff)
downloadopenbsd-a1dabd50a20b20400ed3cb962396f97efdd353a3.tar.gz
openbsd-a1dabd50a20b20400ed3cb962396f97efdd353a3.tar.bz2
openbsd-a1dabd50a20b20400ed3cb962396f97efdd353a3.zip
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 'src/lib')
-rw-r--r--src/lib/libc/net/ethers.33
-rw-r--r--src/lib/libc/net/if_indextoname.33
-rw-r--r--src/lib/libc/net/inet_net.33
3 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libc/net/ethers.3 b/src/lib/libc/net/ethers.3
index 5f961b4246..fac9c590e3 100644
--- a/src/lib/libc/net/ethers.3
+++ b/src/lib/libc/net/ethers.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ethers.3,v 1.17 2005/10/02 14:48:48 jmc Exp $ 1.\" $OpenBSD: ethers.3,v 1.18 2005/12/30 20:45:59 claudio Exp $
2.\" 2.\"
3.\" Written by roland@frob.com. Public domain. 3.\" Written by roland@frob.com. Public domain.
4.\" 4.\"
@@ -13,6 +13,7 @@
13.Nm ether_line 13.Nm ether_line
14.Nd get ethers entry 14.Nd get ethers entry
15.Sh SYNOPSIS 15.Sh SYNOPSIS
16.Fd #include <sys/types.h>
16.Fd #include <sys/socket.h> 17.Fd #include <sys/socket.h>
17.Fd #include <net/if.h> 18.Fd #include <net/if.h>
18.Fd #include <netinet/in.h> 19.Fd #include <netinet/in.h>
diff --git a/src/lib/libc/net/if_indextoname.3 b/src/lib/libc/net/if_indextoname.3
index b0545a5060..da2330b861 100644
--- a/src/lib/libc/net/if_indextoname.3
+++ b/src/lib/libc/net/if_indextoname.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: if_indextoname.3,v 1.9 2005/07/22 04:50:51 jaredy Exp $ 1.\" $OpenBSD: if_indextoname.3,v 1.10 2005/12/30 20:45:59 claudio Exp $
2.\" Copyright (c) 1983, 1991, 1993 2.\" Copyright (c) 1983, 1991, 1993
3.\" The Regents of the University of California. All rights reserved. 3.\" The Regents of the University of California. All rights reserved.
4.\" 4.\"
@@ -38,6 +38,7 @@
38.Nm if_freenameindex 38.Nm if_freenameindex
39.Nd convert interface index to name, and vice versa 39.Nd convert interface index to name, and vice versa
40.Sh SYNOPSIS 40.Sh SYNOPSIS
41.Fd #include <sys/types.h>
41.Fd #include <sys/socket.h> 42.Fd #include <sys/socket.h>
42.Fd #include <net/if.h> 43.Fd #include <net/if.h>
43.Ft "unsigned int" 44.Ft "unsigned int"
diff --git a/src/lib/libc/net/inet_net.3 b/src/lib/libc/net/inet_net.3
index 569ddfc5c6..a763bb12a5 100644
--- a/src/lib/libc/net/inet_net.3
+++ b/src/lib/libc/net/inet_net.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: inet_net.3,v 1.11 2005/07/22 04:50:51 jaredy Exp $ 1.\" $OpenBSD: inet_net.3,v 1.12 2005/12/30 20:45:59 claudio Exp $
2.\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $ 2.\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $
3.\" 3.\"
4.\" Copyright (c) 1997 The NetBSD Foundation, Inc. 4.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -43,6 +43,7 @@
43.Nm inet_net_pton 43.Nm inet_net_pton
44.Nd Internet network number manipulation routines 44.Nd Internet network number manipulation routines
45.Sh SYNOPSIS 45.Sh SYNOPSIS
46.Fd #include <sys/types.h>
46.Fd #include <sys/socket.h> 47.Fd #include <sys/socket.h>
47.Fd #include <netinet/in.h> 48.Fd #include <netinet/in.h>
48.Fd #include <arpa/inet.h> 49.Fd #include <arpa/inet.h>