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:
Bruce Evans 2004-04-14 09:01:56 +00:00
parent 2b94c69d1d
commit a1541efa63

View File

@ -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 *);