summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-11-19 21:14:50 +0000
committerrwatson <rwatson@FreeBSD.org>2001-11-19 21:14:50 +0000
commitf06ddbc3b4d855c4a8689cd0020408f7935d0f3d (patch)
treebd438144df4b1324ce4435c938ea31c4dd132fdb /lib
parent66d8b834c3ee4ce5ccf3a1db05c3697543f96563 (diff)
downloadFreeBSD-src-f06ddbc3b4d855c4a8689cd0020408f7935d0f3d.zip
FreeBSD-src-f06ddbc3b4d855c4a8689cd0020408f7935d0f3d.tar.gz
o Cleanup of includes: user.h may be a catch-all, but that's not
entirely desirable. Back out previous commit, and clean up includes to be more minimal. Submitted by: bde
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm/kvm_getloadavg.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libkvm/kvm_getloadavg.c b/lib/libkvm/kvm_getloadavg.c
index 6119231..d3c1a3b 100644
--- a/lib/libkvm/kvm_getloadavg.c
+++ b/lib/libkvm/kvm_getloadavg.c
@@ -40,12 +40,11 @@ static char sccsid[] = "@(#)kvm_getloadavg.c 8.1 (Berkeley) 6/4/93";
#endif
#endif /* LIBC_SCCS and not lint */
-#include <sys/param.h>
-#include <sys/sysctl.h>
-#include <sys/user.h>
+#include <sys/types.h>
+#include <sys/time.h>
+#include <sys/resource.h>
#include <stdlib.h>
-#include <fcntl.h>
#include <limits.h>
#include <nlist.h>
#include <kvm.h>
OpenPOWER on IntegriCloud