summaryrefslogtreecommitdiffstats
path: root/lib/libdevstat
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-16 13:29:28 +0000
committerphk <phk@FreeBSD.org>2003-02-16 13:29:28 +0000
commit4f3d0c80f39cabf970595d7cf688c6872a1ac69a (patch)
treedcbdadc8a792a132c3e54399539c9eab64c1d671 /lib/libdevstat
parent1107381e5066ab0bae970c855c84c50d749be3ab (diff)
downloadFreeBSD-src-4f3d0c80f39cabf970595d7cf688c6872a1ac69a.zip
FreeBSD-src-4f3d0c80f39cabf970595d7cf688c6872a1ac69a.tar.gz
Premptively include <sys/resource.h> to get the cp_time[CPUSTATES].
Diffstat (limited to 'lib/libdevstat')
-rw-r--r--lib/libdevstat/devstat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libdevstat/devstat.c b/lib/libdevstat/devstat.c
index 09524cc..0cdbd5a 100644
--- a/lib/libdevstat/devstat.c
+++ b/lib/libdevstat/devstat.c
@@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$");
#include <sys/sysctl.h>
#include <sys/errno.h>
#include <sys/dkstat.h>
+#include <sys/resource.h>
#include <sys/queue.h>
#include <ctype.h>
OpenPOWER on IntegriCloud