Include <sys/proc.h> for the definition of PS_INMEM instead of
depending on namespace pollution in <sys/user.h>. Reduced nearby include messes.
This commit is contained in:
parent
2b94c69d1d
commit
a1541efa63
@ -45,18 +45,17 @@ __FBSDID("$FreeBSD$");
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
#include <curses.h>
|
||||
#include <math.h>
|
||||
#include <nlist.h>
|
||||
#include <pwd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "extern.h"
|
||||
#include "systat.h"
|
||||
|
||||
int compar(const void *, const void *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user