summaryrefslogtreecommitdiffstats
path: root/lib/libkvm
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-11-19 15:26:36 +0000
committerrwatson <rwatson@FreeBSD.org>2001-11-19 15:26:36 +0000
commita9c3d65330ced3ef34a2a3a9aa5eac51e1383ec2 (patch)
treeaf305229af9620086cd890383fde967b7ac4d13a /lib/libkvm
parentd9139c0d022245444b028b69771e440783141a3c (diff)
downloadFreeBSD-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.c5
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>
OpenPOWER on IntegriCloud