#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
This commit is contained in:
Robert Watson 2001-11-19 15:26:36 +00:00
parent 25337c6246
commit 123f65b0e9

View File

@ -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>