diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-11-19 15:26:36 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-11-19 15:26:36 +0000 |
commit | a9c3d65330ced3ef34a2a3a9aa5eac51e1383ec2 (patch) | |
tree | af305229af9620086cd890383fde967b7ac4d13a /lib/libkvm | |
parent | d9139c0d022245444b028b69771e440783141a3c (diff) | |
download | FreeBSD-src-a9c3d65330ced3ef34a2a3a9aa5eac51e1383ec2.zip FreeBSD-src-a9c3d65330ced3ef34a2a3a9aa5eac51e1383ec2.tar.gz |
#include <sys/user.h> rather than individually including a plethora
of kernel include files, reducing the replication of kernel include
dependency information in userland.
Obtained from: TrustedBSD Project
Diffstat (limited to 'lib/libkvm')
-rw-r--r-- | lib/libkvm/kvm_getloadavg.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libkvm/kvm_getloadavg.c b/lib/libkvm/kvm_getloadavg.c index ef68fc7..6119231 100644 --- a/lib/libkvm/kvm_getloadavg.c +++ b/lib/libkvm/kvm_getloadavg.c @@ -41,11 +41,8 @@ static char sccsid[] = "@(#)kvm_getloadavg.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> -#include <sys/time.h> -#include <sys/resource.h> -#include <sys/proc.h> #include <sys/sysctl.h> -#include <vm/vm_param.h> +#include <sys/user.h> #include <stdlib.h> #include <fcntl.h> |