#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:
parent
25337c6246
commit
123f65b0e9
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user