diff options
author | bde <bde@FreeBSD.org> | 1996-05-01 01:45:23 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-05-01 01:45:23 +0000 |
commit | 0a13cbc5dabe6da6d825a6470c01c8c4f0979810 (patch) | |
tree | adbdaa9b3c088624966b9429af04d054acf991fa /lib | |
parent | 8bc7ed820fe96213a20e927d350c2f81fcc3d01c (diff) | |
download | FreeBSD-src-0a13cbc5dabe6da6d825a6470c01c8c4f0979810.zip FreeBSD-src-0a13cbc5dabe6da6d825a6470c01c8c4f0979810.tar.gz |
Fixed incomplete or wrong lists of prerequisite #includes related to
<sys/types.h>.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/getfh.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/ktrace.2 | 4 | ||||
-rw-r--r-- | lib/libpcap/pcap.3 | 2 |
3 files changed, 6 insertions, 2 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 |