summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-05-01 01:45:23 +0000
committerbde <bde@FreeBSD.org>1996-05-01 01:45:23 +0000
commit0a13cbc5dabe6da6d825a6470c01c8c4f0979810 (patch)
treeadbdaa9b3c088624966b9429af04d054acf991fa
parent8bc7ed820fe96213a20e927d350c2f81fcc3d01c (diff)
downloadFreeBSD-src-0a13cbc5dabe6da6d825a6470c01c8c4f0979810.zip
FreeBSD-src-0a13cbc5dabe6da6d825a6470c01c8c4f0979810.tar.gz
Fixed incomplete or wrong lists of prerequisite #includes related to
<sys/types.h>.
-rw-r--r--lib/libc/sys/getfh.22
-rw-r--r--lib/libc/sys/ktrace.24
-rw-r--r--lib/libpcap/pcap.32
-rw-r--r--share/man/man5/link.54
-rw-r--r--share/man/man5/utmp.51
5 files changed, 10 insertions, 3 deletions
diff --git a/lib/libc/sys/getfh.2 b/lib/libc/sys/getfh.2
index ab73d5a..e881066 100644
--- a/lib/libc/sys/getfh.2
+++ b/lib/libc/sys/getfh.2
@@ -38,7 +38,7 @@
.Nm getfh
.Nd get file handle
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
+.Fd #include <sys/param.h>
.Fd #include <sys/mount.h>
.Ft int
.Fn getfh "char *path" "fhandle_t *fhp"
diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2
index 9fe61f8..fd4515f 100644
--- a/lib/libc/sys/ktrace.2
+++ b/lib/libc/sys/ktrace.2
@@ -38,7 +38,9 @@
.Nm ktrace
.Nd process tracing
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
+.Fd #include <sys/param.h>
+.Fd #include <sys/time.h>
+.Fd #include <sys/uio.h>
.Fd #include <sys/ktrace.h>
.Ft int
.Fn ktrace "const char *tracefile" "int ops" "int trpoints" "int pid"
diff --git a/lib/libpcap/pcap.3 b/lib/libpcap/pcap.3
index 2159c4d..d298b40 100644
--- a/lib/libpcap/pcap.3
+++ b/lib/libpcap/pcap.3
@@ -23,6 +23,8 @@ pcap \- Packet Capture library
.SH SYNOPSIS
.nf
.ft B
+#include <sys/types.h>
+#include <stdio.h>
#include <pcap.h>
.ft
.LP
diff --git a/share/man/man5/link.5 b/share/man/man5/link.5
index c7e02d1..a0c726e 100644
--- a/share/man/man5/link.5
+++ b/share/man/man5/link.5
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: link.5,v 1.4 1996/01/30 13:51:35 mpp Exp $
+.\" $Id: link.5,v 1.5 1996/04/08 04:18:14 mpp Exp $
.\"
.Dd October 23, 1993
.Dt LINK 5
@@ -35,6 +35,8 @@
.Nm link
.Nd dynamic loader and link editor interface
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <nlist.h>
.Fd #include <link.h>
.Sh DESCRIPTION
The include file
diff --git a/share/man/man5/utmp.5 b/share/man/man5/utmp.5
index b25b4da..5089756 100644
--- a/share/man/man5/utmp.5
+++ b/share/man/man5/utmp.5
@@ -40,6 +40,7 @@
.Nm lastlog
.Nd login records
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <utmp.h>
.Sh DESCRIPTION
The file
OpenPOWER on IntegriCloud