summaryrefslogtreecommitdiff
path: root/share/man/man4
diff options
context:
space:
mode:
authorgiovanni <giovanni@cvs.openbsd.org>2011-09-08 16:43:57 +0000
committergiovanni <giovanni@cvs.openbsd.org>2011-09-08 16:43:57 +0000
commit4473512a0bcb392807b08b0303a355d7ea65e459 (patch)
tree385a5c5d8c7d2362606df2856f68ba9ea05b7d87 /share/man/man4
parent2f2ce686669c3f51439172096bc55586fb0dc028 (diff)
sys/types.h is needed before sys/socket.h
spotted by Thomas de Grivel, ok matthew@
Diffstat (limited to 'share/man/man4')
-rw-r--r--share/man/man4/ip.45
-rw-r--r--share/man/man4/ip6.45
2 files changed, 6 insertions, 4 deletions
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index a1ff99653f5..3b3f83cbf7a 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ip.4,v 1.32 2011/06/15 13:28:03 mikeb Exp $
+.\" $OpenBSD: ip.4,v 1.33 2011/09/08 16:43:56 giovanni Exp $
.\" $NetBSD: ip.4,v 1.3 1994/11/30 16:22:19 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,13 +30,14 @@
.\"
.\" @(#)ip.4 8.2 (Berkeley) 11/30/93
.\"
-.Dd $Mdocdate: June 15 2011 $
+.Dd $Mdocdate: September 8 2011 $
.Dt IP 4
.Os
.Sh NAME
.Nm ip
.Nd Internet Protocol
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netinet/in.h>
.Ft int
diff --git a/share/man/man4/ip6.4 b/share/man/man4/ip6.4
index c59f0886008..2d4bd8a3683 100644
--- a/share/man/man4/ip6.4
+++ b/share/man/man4/ip6.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ip6.4,v 1.24 2011/08/25 14:39:29 haesbaert Exp $
+.\" $OpenBSD: ip6.4,v 1.25 2011/09/08 16:43:56 giovanni Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -26,13 +26,14 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
-.Dd $Mdocdate: August 25 2011 $
+.Dd $Mdocdate: September 8 2011 $
.Dt IP6 4
.Os
.Sh NAME
.Nm ip6
.Nd Internet Protocol version 6 (IPv6) network layer
.Sh SYNOPSIS
+.In sys/types.h
.In sys/socket.h
.In netinet/in.h
.Ft int