summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/inet_net.3
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/libc/net/inet_net.3
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/libc/net/inet_net.3')
-rw-r--r--src/lib/libc/net/inet_net.33
1 files changed, 2 insertions, 1 deletions
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>