summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/inet_net.3
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2005-12-30 20:45:59 +0000
committerclaudio <claudio@openbsd.org>2005-12-30 20:45:59 +0000
commit752b296898acb02aa3b31b67863ef3ccb1bed998 (patch)
tree10368c92ba0dfb46d07af33dc55a6cc4e8073cb9 /lib/libc/net/inet_net.3
parentuse queue.h macros for thread house keeping; make some vars non-static (diff)
downloadwireguard-openbsd-752b296898acb02aa3b31b67863ef3ccb1bed998.tar.xz
wireguard-openbsd-752b296898acb02aa3b31b67863ef3ccb1bed998.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 'lib/libc/net/inet_net.3')
-rw-r--r--lib/libc/net/inet_net.33
1 files changed, 2 insertions, 1 deletions
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>