summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-03 16:23:12 +0000
committerphk <phk@FreeBSD.org>2003-01-03 16:23:12 +0000
commitb884c995dbabefd65829684e2d99e0d31d271447 (patch)
treec7aa39b6ef241e6540b183e8f18346cfdf2952f7 /usr.sbin
parent88bd74d1841dba3f36f98fb64c7e2a630af3489f (diff)
downloadFreeBSD-src-b884c995dbabefd65829684e2d99e0d31d271447.zip
FreeBSD-src-b884c995dbabefd65829684e2d99e0d31d271447.tar.gz
Make struct swblock kernel only, to make vm/swap_pager.h userland includable.
Move struct swdevt from sys/conf.h to the more appropriate vm/swap_pager.h. Adjust #include use in libkvm and pstat(8) to match.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pstat/pstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index f85de47..2346bc4 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -60,11 +60,11 @@ static const char rcsid[] =
#include <sys/ioctl.h>
#include <sys/ioctl_compat.h> /* XXX NTTYDISC is too well hidden */
#include <sys/tty.h>
-#include <sys/conf.h>
#include <sys/blist.h>
#include <sys/user.h>
#include <sys/sysctl.h>
+#include <vm/swap_pager.h>
#include <err.h>
#include <fcntl.h>
OpenPOWER on IntegriCloud